Fix default behavior of join
This commit is contained in:
parent
d9c25e1b27
commit
ef868d83bf
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = fsub
|
name = fsub
|
||||||
version = 1.0.0
|
version = 1.0.1
|
||||||
author = Augusto Lenz Gunsch
|
author = Augusto Lenz Gunsch
|
||||||
author_email = augustogunsch@tutanota.com
|
author_email = augustogunsch@tutanota.com
|
||||||
description = CLI SubRip editor
|
description = CLI SubRip editor
|
||||||
|
|
|
@ -498,7 +498,8 @@ def run(args):
|
||||||
try:
|
try:
|
||||||
file = parsed_files.pop(0)
|
file = parsed_files.pop(0)
|
||||||
first += file
|
first += file
|
||||||
file.delete()
|
if args.replace:
|
||||||
|
file.delete()
|
||||||
except IndexError:
|
except IndexError:
|
||||||
break
|
break
|
||||||
parsed_files.append(first)
|
parsed_files.append(first)
|
||||||
|
|
Loading…
Reference in New Issue