summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Gummibaer <guthub@wiki-bierkiste.de> 2014-11-26 12:33:40 +0100
committerGravatar Gummibaer <guthub@wiki-bierkiste.de> 2014-11-26 12:33:40 +0100
commita059d5df038f2cb1ba4be32c782aa3878e849555 (patch)
treeb40e0187d807e78d0137c9950c789939e30f8631 /module/plugins/crypter
parent[XFSHoster] Code improvements (diff)
downloadpyload-a059d5df038f2cb1ba4be32c782aa3878e849555.tar.xz
Fix Error [LinkCryptWs.py]
Error: global name 'pyfile' is not defined
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/LinkCryptWs.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/crypter/LinkCryptWs.py b/module/plugins/crypter/LinkCryptWs.py
index 578595228..835a549b2 100644
--- a/module/plugins/crypter/LinkCryptWs.py
+++ b/module/plugins/crypter/LinkCryptWs.py
@@ -15,14 +15,15 @@ from module.utils import html_unescape
class LinkCryptWs(Crypter):
__name__ = "LinkCryptWs"
__type__ = "crypter"
- __version__ = "0.06"
+ __version__ = "0.07"
__pattern__ = r'http://(?:www\.)?linkcrypt\.ws/(dir|container)/(?P<ID>\w+)'
__description__ = """LinkCrypt.ws decrypter plugin"""
__license__ = "GPLv3"
__authors__ = [("kagenoshin", "kagenoshin[AT]gmx[DOT]ch"),
- ("glukgluk", None)]
+ ("glukgluk", None),
+ ("Gummibaer", None)]
CRYPTED_KEY = "crypted"
@@ -37,7 +38,7 @@ class LinkCryptWs(Crypter):
def prepare(self):
# Init
- self.fileid = re.match(self.__pattern__, pyfile.url).group('ID')
+ self.fileid = re.match(self.__pattern__, self.pyfile.url).group('ID')
self.req.cj.setCookie("linkcrypt.ws", "language", "en")