This commit is contained in:
parent
78abed52a8
commit
8aab51464d
@ -65,7 +65,6 @@ def cleanup(keepencodes: bool, outputfile: str = ""):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# REVIEW make removal optional/togglable with cli switch
|
|
||||||
if not keepencodes:
|
if not keepencodes:
|
||||||
os.remove(outputfile)
|
os.remove(outputfile)
|
||||||
except:
|
except:
|
||||||
@ -427,7 +426,6 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
# REVIEW expose this as variable/argument?
|
|
||||||
outputpath: str = args.output_dir
|
outputpath: str = args.output_dir
|
||||||
inputfile: str = args.input_file
|
inputfile: str = args.input_file
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user