RSS: Open dump file in text mode (json uses text mode).

This commit is contained in:
Valentin Lorentz 2014-07-31 20:57:47 +00:00
parent 7ac053d8f1
commit 1265f9229a

View File

@ -159,7 +159,7 @@ class RSS(callbacks.Plugin):
def _flush(self):
l = [(f.name, f.announced_entries) for f in self.feeds.values()]
with utils.file.AtomicFile(announced_headlines_filename, 'wb',
with utils.file.AtomicFile(announced_headlines_filename, 'w',
backupDir='/dev/null') as fd:
save_announces_db(l, fd)