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 committed by Thomas Lauf
parent 8f532d8eb9
commit 99d2d12f37

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: