diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-18 19:04:48 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-18 19:04:48 +0100 |
commit | 5d32c05eb764beed8a84dec1e91e0f8a8060899d (patch) | |
tree | d4d71b48908c097bde2a3ec9c7c2b80d54b5eccd /module/plugins | |
parent | render download progress (diff) | |
download | pyload-5d32c05eb764beed8a84dec1e91e0f8a8060899d.tar.xz |
added ReadWrite lock, render file progress on dashboard
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/Crypter.py | 6 | ||||
-rw-r--r-- | module/plugins/internal/ReCaptcha.py (renamed from module/plugins/ReCaptcha.py) | 0 |
2 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/Crypter.py b/module/plugins/Crypter.py index 920009f44..61370541f 100644 --- a/module/plugins/Crypter.py +++ b/module/plugins/Crypter.py @@ -10,9 +10,11 @@ from Base import Base, Retry class Package: """ Container that indicates that a new package should be created """ - def __init__(self, name, urls=None): + def __init__(self, name, urls=None, folder=None): self.name = name self.urls = urls if urls else [] + self.folder = folder + # nested packages self.packs = [] @@ -36,7 +38,7 @@ class Package: return u"<CrypterPackage name=%s, links=%s, packs=%s" % (self.name, self.urls, self.packs) def __hash__(self): - return hash(self.name) ^ hash(frozenset(self.urls)) + return hash(self.name) ^ hash(frozenset(self.urls)) ^ hash(self.name) class PyFileMockup: """ Legacy class needed by old crypter plugins """ diff --git a/module/plugins/ReCaptcha.py b/module/plugins/internal/ReCaptcha.py index 6f7ebe22c..6f7ebe22c 100644 --- a/module/plugins/ReCaptcha.py +++ b/module/plugins/internal/ReCaptcha.py |