summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/MediafireComFolder.py
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-02 00:37:43 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-02 00:37:43 +0100
commit7ab16b360739c4754c954ceb54b226ab0a30c215 (patch)
treec7d522cfe574f43ebb862d51f3693cd974cde04f /module/plugins/crypter/MediafireComFolder.py
parent[ExternalScripts] fix #2251 + much more (diff)
downloadpyload-7ab16b360739c4754c954ceb54b226ab0a30c215.tar.xz
"is" is evil
Diffstat (limited to 'module/plugins/crypter/MediafireComFolder.py')
-rw-r--r--module/plugins/crypter/MediafireComFolder.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/MediafireComFolder.py b/module/plugins/crypter/MediafireComFolder.py
index b0e2e5e51..ef49aa818 100644
--- a/module/plugins/crypter/MediafireComFolder.py
+++ b/module/plugins/crypter/MediafireComFolder.py
@@ -9,7 +9,7 @@ from module.plugins.internal.misc import json
class MediafireComFolder(Crypter):
__name__ = "MediafireComFolder"
__type__ = "crypter"
- __version__ = "0.21"
+ __version__ = "0.22"
__status__ = "testing"
__pattern__ = r'http://(?:www\.)?mediafire\.com/(folder/|\?sharekey=|\?\w{13}($|[/#]))'
@@ -58,7 +58,7 @@ class MediafireComFolder(Crypter):
url, result = self._get_url(pyfile.url)
self.log_debug("Location (%d): %s" % (result, url))
- if result is 0:
+ if result == 0:
#: Load and parse html
html = self.load(pyfile.url)
m = re.search(self.LINK_PATTERN, html)
@@ -84,7 +84,7 @@ class MediafireComFolder(Crypter):
else:
self.fail(json_data['response']['message'])
- elif result is 1:
+ elif result == 1:
self.offline()
else: