Lint
This commit is contained in:
parent
ac5345deec
commit
d8a49f2be8
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue