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):
|
||||
"""Write RSS content to file."""
|
||||
with open(path, 'w') as f:
|
||||
with open(path, 'wb') as f:
|
||||
f.write(self.getXML())
|
||||
|
||||
def getXML(self):
|
||||
|
|
Loading…
Reference in a new issue