Commit 653ab8ae authored by Jérome Perrin's avatar Jérome Perrin

knowledge_pad: fix a unused variable

parent e8e7f5d1
......@@ -3,7 +3,6 @@ from hashlib import md5
def getRssDataAsDict(context, url, username=None, password=None):
result = {}
translate = context.Base_translateString
# no url, no feed to read
if url in ('', None, 'None',):
# no URL
......
......@@ -45,9 +45,7 @@
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W: 6, 2: local variable \'translate\' is assigned to but never used</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......
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