summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/misc.py
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-10 01:12:35 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-10 01:12:35 +0100
commit275ecd47f14ebee8309de1e1f13d090ca50c38fe (patch)
treef9c22e6fc16f376fcc6f34df9f86af3a300fbabe /module/plugins/internal/misc.py
parent[ExternalScripts] Update (diff)
downloadpyload-275ecd47f14ebee8309de1e1f13d090ca50c38fe.tar.xz
"is" is evil (2)
Diffstat (limited to 'module/plugins/internal/misc.py')
-rw-r--r--module/plugins/internal/misc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/misc.py b/module/plugins/internal/misc.py
index f4491acf7..fa5a2e068 100644
--- a/module/plugins/internal/misc.py
+++ b/module/plugins/internal/misc.py
@@ -38,7 +38,7 @@ except ImportError:
class misc(object):
__name__ = "misc"
__type__ = "plugin"
- __version__ = "0.19"
+ __version__ = "0.20"
__status__ = "stable"
__pattern__ = r'^unmatchable$'
@@ -751,7 +751,7 @@ def parse_html_form(attr_str, html, input_names={}):
#: Check input attributes
for key, value in input_names.items():
if key in inputs:
- if isinstance(value, basestring) and inputs[key] is value:
+ if isinstance(value, basestring) and inputs[key] == value:
continue
elif isinstance(value, tuple) and inputs[key] in value:
continue