summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/EgoFilesCom.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2014-04-18 16:08:02 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-21 17:23:16 +0200
commit377a77bdd0a5aa8a367d4819258024265fe0b386 (patch)
tree498d8bab936722ddbee130d4a87aefba8873918b /pyload/plugins/hoster/EgoFilesCom.py
parentEgofiles: fixed #583 (diff)
downloadpyload-377a77bdd0a5aa8a367d4819258024265fe0b386.tar.xz
Using in instead of has_key
(cherry picked from commit b599ed263da76a58ad80c68be46c51c9fb89a1d1)
Diffstat (limited to 'pyload/plugins/hoster/EgoFilesCom.py')
-rw-r--r--pyload/plugins/hoster/EgoFilesCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/EgoFilesCom.py b/pyload/plugins/hoster/EgoFilesCom.py
index d8168c980..68a95b33a 100644
--- a/pyload/plugins/hoster/EgoFilesCom.py
+++ b/pyload/plugins/hoster/EgoFilesCom.py
@@ -27,7 +27,7 @@ class EgoFilesCom(SimpleHoster):
__name__ = "EgoFilesCom"
__type__ = "hoster"
__pattern__ = r'https?://(?:www\.)?egofiles.com/(\w+)'
- __version__ = "0.14"
+ __version__ = "0.15"
__description__ = """Egofiles.com hoster plugin"""
__author_name__ = "stickell"
__author_mail__ = "l.stickell@yahoo.it"
@@ -83,7 +83,7 @@ class EgoFilesCom(SimpleHoster):
def handlePremium(self):
header = self.load(self.pyfile.url, just_header=True)
- if header.has_key('location'):
+ if 'location' in header:
self.logDebug('DIRECT LINK from header: ' + header['location'])
self.download(header['location'])
else: