Small change in error message for main()
This commit is contained in:
parent
5f3fe03108
commit
2dee2ddd1c
@ -123,7 +123,7 @@ def main() -> None:
|
|||||||
doc = render_docx(doc,json_data)
|
doc = render_docx(doc,json_data)
|
||||||
save_file(doc, Path(parsed_args['Output']).resolve())
|
save_file(doc, Path(parsed_args['Output']).resolve())
|
||||||
except RuntimeError as e:
|
except RuntimeError as e:
|
||||||
print(e)
|
print('Error: '+e.__str__())
|
||||||
return
|
return
|
||||||
finally:
|
finally:
|
||||||
print('Exiting program!')
|
print('Exiting program!')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user