Commit 88d772fd authored by Julien Muchembled's avatar Julien Muchembled

erp5_knowledge_pad: fix Base_getRssDataAsDocumentList

I missed it in commit b0209091
parent 1bf56d7d
import feedparser, urllib2, socket
from hashlib import md5
def getRssDataAsDict(self, url, username=None, password=None):
def getRssDataAsDict(context, url, username=None, password=None):
result = {}
translate = self.Base_translateString
translate = context.Base_translateString
# no url, no feed to read
if url in ('', None, 'None',):
# no URL
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment