summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Base.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/Base.py
parent[ExternalScripts] Update (diff)
downloadpyload-275ecd47f14ebee8309de1e1f13d090ca50c38fe.tar.xz
"is" is evil (2)
Diffstat (limited to 'module/plugins/internal/Base.py')
-rw-r--r--module/plugins/internal/Base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Base.py b/module/plugins/internal/Base.py
index 5f766c88f..e6055e454 100644
--- a/module/plugins/internal/Base.py
+++ b/module/plugins/internal/Base.py
@@ -27,7 +27,7 @@ def parse_fileInfo(klass, url="", html=""):
class Base(Plugin):
__name__ = "Base"
__type__ = "base"
- __version__ = "0.22"
+ __version__ = "0.23"
__status__ = "stable"
__pattern__ = r'^unmatchable$'
@@ -185,7 +185,7 @@ class Base(Plugin):
def _update_name(self):
name = self.info.get('name')
- if name and name is not self.info.get('url'):
+ if name and name != self.info.get('url'):
self.pyfile.name = name
else:
name = self.pyfile.name