Later: load the db with utf8 encoding (the default for AtomicFile).

This commit is contained in:
Valentin Lorentz 2018-06-27 00:54:58 +02:00
parent 6f9deecbcf
commit 1840b94453

View File

@ -71,7 +71,7 @@ class Later(callbacks.Plugin):
def _openNotes(self):
try:
fd = open(self.filename)
fd = open(self.filename, encoding='utf8')
except EnvironmentError as e:
self.log.warning('Couldn\'t open %s: %s', self.filename, e)
return