[rssnotify] Explicitly use utf-8 for writing log file

master
sfan5 2016-08-20 23:07:55 +02:00
parent 56ad2b18a8
commit 57412fc197
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class RssNotify():
message = self._format_msg(entry)
self._announce(phenny, message, feedspec[1])
if self.config["logfile"] is not None:
with open(self.config["logfile"], "a") as f:
with open(self.config["logfile"], "a", encoding="utf-8") as f:
message = self._format_msg(entry, log_format=True)
f.write(message)
f.write("\n")