diff options
Diffstat (limited to 'RepSys')
-rw-r--r-- | RepSys/log.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/RepSys/log.py b/RepSys/log.py index e4e49b1..756cf95 100644 --- a/RepSys/log.py +++ b/RepSys/log.py @@ -311,7 +311,12 @@ def dump_file(releases, currentlog=None, template=None): "releases" : releases, "revisions_by_author": revisions_author}] t = Template(**params) - return t.respond() + chlog = t.respond() + try: + chlog = chlog.decode("utf8") + except UnicodeError: + pass + return chlog class InvalidEntryError(Exception): |