diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-21 01:51:12 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-21 01:51:12 +0200 |
commit | 52dabdbe4241b6c6af8bc139d480be5ed2af2294 (patch) | |
tree | b09a4313a3b5f6c507dc4e961eee2496f9e7b9cb /module/plugins/hooks | |
parent | [Notifier] Fix https://github.com/pyload/pyload/issues/2090 (diff) | |
download | pyload-52dabdbe4241b6c6af8bc139d480be5ed2af2294.tar.xz |
Boring code cosmetics (2)
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/ExternalScripts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py index d2e52338f..53ff6a154 100644 --- a/module/plugins/hooks/ExternalScripts.py +++ b/module/plugins/hooks/ExternalScripts.py @@ -171,14 +171,14 @@ class ExternalScripts(Addon): def package_deleted(self, pid): - pypack = self.pyload.api.getPackageInfo(pid) + pdata = self.pyload.api.getPackageInfo(pid) if self.pyload.config.get("general", "folder_per_package"): dl_folder = fs_join(self.pyload.config.get("general", "download_folder"), pypack.folder) else: dl_folder = self.pyload.config.get("general", "download_folder") - args = [pypack.pid, pypack.name, dl_folder, pypack.password] + args = [pdata.pid, pdata.name, dl_folder, pdata.password] self._call("package_deleted", args) |