diff options
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hooks/AntiVirus.py | 6 | ||||
-rw-r--r-- | module/plugins/hooks/Checksum.py | 6 | ||||
-rw-r--r-- | module/plugins/hoster/MegaCoNz.py | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/hooks/AntiVirus.py b/module/plugins/hooks/AntiVirus.py index 80968c491..b6fd0ca2d 100644 --- a/module/plugins/hooks/AntiVirus.py +++ b/module/plugins/hooks/AntiVirus.py @@ -16,7 +16,7 @@ from module.utils import fs_encode, save_join as fs_join class AntiVirus(Addon): __name__ = "AntiVirus" __type__ = "hook" - __version__ = "0.11" + __version__ = "0.12" __status__ = "testing" #@TODO: add trash option (use Send2Trash lib) @@ -36,8 +36,8 @@ class AntiVirus(Addon): @Expose @threaded def scan(self, pyfile, thread): - file = fs_encode(pyfile.plugin.lastDownload) - filename = os.path.basename(pyfile.plugin.lastDownload) + file = fs_encode(pyfile.plugin.last_download) + filename = os.path.basename(pyfile.plugin.last_download) cmdfile = fs_encode(self.get_config('cmdfile')) cmdargs = fs_encode(self.get_config('cmdargs').strip()) diff --git a/module/plugins/hooks/Checksum.py b/module/plugins/hooks/Checksum.py index 251918df5..6ecbfcda2 100644 --- a/module/plugins/hooks/Checksum.py +++ b/module/plugins/hooks/Checksum.py @@ -38,7 +38,7 @@ def compute_checksum(local_file, algorithm): class Checksum(Addon): __name__ = "Checksum" __type__ = "hook" - __version__ = "0.18" + __version__ = "0.19" __status__ = "testing" __config__ = [("check_checksum", "bool" , "Check checksum? (If False only size will be verified)", True ), @@ -99,10 +99,10 @@ class Checksum(Addon): self.log_debug(data) - if not pyfile.plugin.lastDownload: + if not pyfile.plugin.last_download: self.check_failed(pyfile, None, "No file downloaded") - local_file = fs_encode(pyfile.plugin.lastDownload) + local_file = fs_encode(pyfile.plugin.last_download) # download_folder = self.pyload.config.get("general", "download_folder") # local_file = fs_encode(fs_join(download_folder, pyfile.package().folder, pyfile.name)) diff --git a/module/plugins/hoster/MegaCoNz.py b/module/plugins/hoster/MegaCoNz.py index ad7b06f08..d8a29817c 100644 --- a/module/plugins/hoster/MegaCoNz.py +++ b/module/plugins/hoster/MegaCoNz.py @@ -108,7 +108,7 @@ class MegaCoNz(Hoster): def decrypt_file(self, key): """ - Decrypts the file at lastDownload` + Decrypts the file at last_download` """ #: Upper 64 bit of counter start n = self.b64_decode(key)[16:24] |