Write encoded data in binary format.
This commit is contained in:
parent
0fbc005377
commit
bd1d41b83c
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class Feed(object):
|
||||||
|
|
||||||
def write(self, path):
|
def write(self, path):
|
||||||
"""Write RSS content to file."""
|
"""Write RSS content to file."""
|
||||||
with open(path, 'w') as f:
|
with open(path, 'wb') as f:
|
||||||
f.write(self.getXML())
|
f.write(self.getXML())
|
||||||
|
|
||||||
def getXML(self):
|
def getXML(self):
|
||||||
|
|
Loading…
Reference in a new issue