Binary mode doesn't take an encoding!
1 files changed, 1 insertions(+), 1 deletions(-) M quiescent/static.py
M quiescent/static.py => quiescent/static.py +1 -1
@@ 146,5 146,5 @@ class StaticGenerator: feed_link=self.feed_link, feed_author=self.author) output_path = os.path.join(self.output_dir, self.feed_link) - with open(output_path, 'wb', encoding='utf-8') as f: + with open(output_path, 'wb') as f: f.write(feed_string.encode())