diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-01-10 01:12:35 +0100 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-01-10 01:12:35 +0100 |
commit | 275ecd47f14ebee8309de1e1f13d090ca50c38fe (patch) | |
tree | f9c22e6fc16f376fcc6f34df9f86af3a300fbabe /module/plugins/internal/Hoster.py | |
parent | [ExternalScripts] Update (diff) | |
download | pyload-275ecd47f14ebee8309de1e1f13d090ca50c38fe.tar.xz |
"is" is evil (2)
Diffstat (limited to 'module/plugins/internal/Hoster.py')
-rw-r--r-- | module/plugins/internal/Hoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py index 4a1499d5c..69610e8a0 100644 --- a/module/plugins/internal/Hoster.py +++ b/module/plugins/internal/Hoster.py @@ -34,7 +34,7 @@ if not hasattr(__builtin__.property, "setter"): class Hoster(Base): __name__ = "Hoster" __type__ = "hoster" - __version__ = "0.53" + __version__ = "0.54" __status__ = "stable" __pattern__ = r'^unmatchable$' @@ -140,7 +140,7 @@ class Hoster(Base): try: unfinished = any(fdata.get('status') == 3 for fid, fdata in pypack.getChildren().items() - if fid is not self.pyfile.id) + if fid != self.pyfile.id) if unfinished: return |