summaryrefslogtreecommitdiffstats
path: root/module/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-18 16:08:02 +0200
commitb599ed263da76a58ad80c68be46c51c9fb89a1d1 (patch)
treeca55925fff3a1c118a8cbbf8eb8f65de0ba65740 /module/plugins/hoster/EgoFilesCom.py
parentEgofiles: fixed #583 (diff)
downloadpyload-b599ed263da76a58ad80c68be46c51c9fb89a1d1.tar.xz
Using in instead of has_key
Diffstat (limited to 'module/plugins/hoster/EgoFilesCom.py')
-rw-r--r--module/plugins/hoster/EgoFilesCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/EgoFilesCom.py b/module/plugins/hoster/EgoFilesCom.py
index d8168c980..68a95b33a 100644
--- a/module/plugins/hoster/EgoFilesCom.py
+++ b/module/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: