Ext: Fixed utf8 encoding in Taskwarrior integration hook

- Thanks to Martin Boeker.
This commit is contained in:
Paul Beckingham 2016-07-06 23:23:41 -04:00
parent 62be29f2eb
commit 123655079c
3 changed files with 4 additions and 1 deletions

View file

@ -16,6 +16,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Kent R. Spillner
Ben Boeckel
Michael Meier
Martin Boeker
Thanks to the following, who submitted detailed bug reports and excellent
suggestions:

View file

@ -32,6 +32,8 @@
- Fixed problem where a specific start time closed the previous open interval
at the current time.
(thanks to Michael Meier).
- Fixed utf8 encoding in Taskwarrior integration hook
(thanks to Martin Boeker).
------ current release ---------------------------

View file

@ -50,7 +50,7 @@ if 'project' in new:
if 'tags' in new:
tags.extend(new['tags'])
combined = ' '.join(['"%s"' % tag for tag in tags])
combined = ' '.join(['"%s"' % tag for tag in tags]).encode('utf-8').strip()
# Started task.
if 'start' in new and not 'start' in old: