summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/DuckCryptInfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/DuckCryptInfo.py')
-rw-r--r--module/plugins/crypter/DuckCryptInfo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/crypter/DuckCryptInfo.py b/module/plugins/crypter/DuckCryptInfo.py
index c9269b05e..5bb7208af 100644
--- a/module/plugins/crypter/DuckCryptInfo.py
+++ b/module/plugins/crypter/DuckCryptInfo.py
@@ -8,7 +8,7 @@ from module.plugins.internal.Crypter import Crypter
class DuckCryptInfo(Crypter):
- __name__ = "DuckCryptInfo"
+ __name = "DuckCryptInfo"
__type__ = "crypter"
__version__ = "0.04"
__status__ = "testing"
@@ -28,7 +28,7 @@ class DuckCryptInfo(Crypter):
def decrypt(self, pyfile):
url = pyfile.url
- m = re.match(self.__pattern__, url)
+ m = re.match(self.__pattern, url)
if m is None:
self.fail(_("Weird error in link"))
if str(m.group(1)) == "link":
@@ -39,7 +39,7 @@ class DuckCryptInfo(Crypter):
def handle_folder(self, m):
html = self.load("http://duckcrypt.info/ajax/auth.php?hash=" + str(m.group(2)))
- m = re.match(self.__pattern__, html)
+ m = re.match(self.__pattern, html)
self.log_debug("Redirectet to " + str(m.group(0)))
html = self.load(str(m.group(0)))
soup = BeautifulSoup.BeautifulSoup(html)