cleaner html converter

This commit is contained in:
ari committed 2019-01-22 13:16:17 -05:00
1 parent ec02a7d38b
commit 19712f1f0f
3 files changed
+44 -108

No files matched your search

+4 -5
View File
@@ -52,11 +52,10 @@ def main(args=None):
if len(parsed_args.files) == 1:
if parsed_args.output_file != "-":
func_args['output_file'] = open(parsed_args.output_file, "wb")
with open(parsed_args.files[0], 'rb') as input_file:
convert_file(
input_file,
**func_args
)
convert_file(
parsed_args.files[0],
**func_args
)
else:
print("Multiple files not supported yet.")
return 1