Fixed output file

Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
This commit is contained in:
Rémi BERTHO 2018-02-07 19:16:33 +01:00
parent dd5d3e8f43
commit 5f42e5967c
Signed by: dalan
GPG key ID: EE3B917931C07B64

View file

@ -126,7 +126,7 @@ def main():
output_filenames.append(input_ex.subn(args["output_regex"], input_filename)[0]) output_filenames.append(input_ex.subn(args["output_regex"], input_filename)[0])
use_output_file = True use_output_file = True
elif args["output_file"] is not None: elif args["output_file"] is not None:
output_filenames.append(args["output"]) output_filenames.append(args["output_file"])
use_output_file = True use_output_file = True
elif args["output_clipboard"]: elif args["output_clipboard"]:
use_output_file = False use_output_file = False