mirror of
https://github.com/GothenburgBitFactory/task-timewarrior-hook.git
synced 2025-06-26 10:54:27 +02:00
Ext: Fixed utf8 encoding in Taskwarrior integration hook
- Thanks to Martin Boeker.
This commit is contained in:
parent
8f532d8eb9
commit
99d2d12f37
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue