From e3e1ab58d1c5f70d89ed2f3ac097bdfe7a0275cf Mon Sep 17 00:00:00 2001 From: Eric Lapouyade Date: Fri, 1 Oct 2021 16:09:11 +0200 Subject: [PATCH] Fix typo --- docxtpl/__init__.py | 2 +- docxtpl/__main__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docxtpl/__init__.py b/docxtpl/__init__.py index 445b3f6..38a3f4f 100644 --- a/docxtpl/__init__.py +++ b/docxtpl/__init__.py @@ -4,7 +4,7 @@ Created : 2015-03-12 @author: Eric Lapouyade """ -__version__ = '0.14.1' +__version__ = '0.14.2' # flake8: noqa from .inline_image import InlineImage diff --git a/docxtpl/__main__.py b/docxtpl/__main__.py index 2894342..3ce9bbf 100644 --- a/docxtpl/__main__.py +++ b/docxtpl/__main__.py @@ -125,7 +125,7 @@ def save_file(doc, parsed_args): if not parsed_args[QUIET_ARG]: print('Document successfully generated and saved at {output_path}'.format(output_path=output_path)) except OSError as e: - print('{e.strerror}. Could not save file {e.filename}.'.foramt(e=e)) + print('{e.strerror}. Could not save file {e.filename}.'.format(e=e)) raise RuntimeError('Failed to save file.')