Fix default behavior of join

This commit is contained in:
Augusto Gunsch 2021-11-17 21:28:47 -03:00
parent d9c25e1b27
commit ef868d83bf
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[metadata]
name = fsub
version = 1.0.0
version = 1.0.1
author = Augusto Lenz Gunsch
author_email = augustogunsch@tutanota.com
description = CLI SubRip editor

View File

@ -498,7 +498,8 @@ def run(args):
try:
file = parsed_files.pop(0)
first += file
file.delete()
if args.replace:
file.delete()
except IndexError:
break
parsed_files.append(first)