diff options
author | godofdream <soilfiction@gmail.com> | 2012-08-17 12:39:18 +0200 |
---|---|---|
committer | godofdream <soilfiction@gmail.com> | 2012-08-17 12:39:18 +0200 |
commit | 42adac128233f50a218b0d192cf8fd3d8bcab1df (patch) | |
tree | b149feabc8d4c2c456f5587e012344f5dfd3ea43 /module | |
parent | fix multipart post encoding, add workaround for captcha hooks (diff) | |
download | pyload-42adac128233f50a218b0d192cf8fd3d8bcab1df.tar.xz |
Fixed c1neonCom plugin
Diffstat (limited to 'module')
-rw-r--r-- | module/plugins/crypter/C1neonCom.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/crypter/C1neonCom.py b/module/plugins/crypter/C1neonCom.py index ad7f49795..36b84764e 100644 --- a/module/plugins/crypter/C1neonCom.py +++ b/module/plugins/crypter/C1neonCom.py @@ -24,7 +24,7 @@ class C1neonCom(Crypter): __name__ = "C1neonCom" __type__ = "container" __pattern__ = r"http://(www\.)?c1neon.com/.*?" - __version__ = "0.04" + __version__ = "0.05" __config__ = [ ("changeNameS", "Packagename;Show;Season;Episode", "Rename Show by", "Show"), ("changeName", "Packagename;Movie", "Rename Movie by", "Movie"), @@ -100,11 +100,11 @@ class C1neonCom(Crypter): #selects only one Hoster def getpreferred(self, hosterslist): hosterlist = {} - if hosterslist['u'] is not None: + if 'u' in hosterslist: hosterlist.update(hosterslist['u']) - if (hosterslist['d'] is not None): + if ('d' in hosterslist): hosterlist.update(hosterslist['d']) - if self.getConfig("useStreams") and hosterslist['s'] is not None: + if self.getConfig("useStreams") and 's' in hosterslist: hosterlist.update(hosterslist['s']) result = [] |