diff --git a/SSnR.py b/SSnR.py index 6d04e4d..4d8b2ed 100755 --- a/SSnR.py +++ b/SSnR.py @@ -126,7 +126,7 @@ def main(): output_filenames.append(input_ex.subn(args["output_regex"], input_filename)[0]) use_output_file = True elif args["output_file"] is not None: - output_filenames.append(args["output"]) + output_filenames.append(args["output_file"]) use_output_file = True elif args["output_clipboard"]: use_output_file = False