From 2dee2ddd1c86134dbcccff82bff81b10a29e1524 Mon Sep 17 00:00:00 2001 From: Lucas Date: Wed, 29 Sep 2021 13:04:47 -0300 Subject: [PATCH] Small change in error message for main() --- docxtpl/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docxtpl/__main__.py b/docxtpl/__main__.py index 6c03e06..6b6ea07 100644 --- a/docxtpl/__main__.py +++ b/docxtpl/__main__.py @@ -123,7 +123,7 @@ def main() -> None: doc = render_docx(doc,json_data) save_file(doc, Path(parsed_args['Output']).resolve()) except RuntimeError as e: - print(e) + print('Error: '+e.__str__()) return finally: print('Exiting program!')