pull/19/head
Yax 5 months ago
parent ac5345deec
commit d8a49f2be8

@ -52,5 +52,5 @@ class Rss:
lastBuildDate=datetime.now(), lastBuildDate=datetime.now(),
items=items, items=items,
) )
# pylint: disable=consider-using-with with open(self._rss_file, "w", encoding="utf-8") as outfile:
rss.write_xml(open(self._rss_file, "w", encoding="utf-8"), encoding="utf-8") rss.write_xml(outfile, encoding="utf-8")

Loading…
Cancel
Save