darwin still does not default to utf-8, set encoding
This commit is contained in:
parent
417195cfd1
commit
72002fc4a1
3 changed files with 4 additions and 4 deletions
|
|
@ -107,7 +107,7 @@ class Tasks(Thread):
|
|||
def save_tasks(self):
|
||||
if self._tasks:
|
||||
logger.debug('saving %s tasks for later', len(self._tasks))
|
||||
with open(self._taskspath, 'w') as f:
|
||||
with open(self._taskspath, 'w', encoding='utf-8') as f:
|
||||
json.dump(self._tasks, f)
|
||||
|
||||
def join(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue