summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-20 23:34:20 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-20 23:34:20 +0200
commite7d51ae1b0a475511891f655c9e0bbc91cf2da6b (patch)
tree051346696d3d1b5f6ceabe7b9592010f55d11ae4
parentMerge pull request #2085 from GammaC0de/patch-6 (diff)
parentUpdate ExternalScripts.py (diff)
downloadpyload-e7d51ae1b0a475511891f655c9e0bbc91cf2da6b.tar.xz
Merge pull request #2087 from GammaC0de/patch-6
[ExternalScripts] fix: 'PackageData' object has no attribute 'id'
-rw-r--r--module/plugins/hooks/ExternalScripts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py
index 04ea5e135..d2e52338f 100644
--- a/module/plugins/hooks/ExternalScripts.py
+++ b/module/plugins/hooks/ExternalScripts.py
@@ -10,7 +10,7 @@ from module.plugins.internal.utils import encode, fs_join
class ExternalScripts(Addon):
__name__ = "ExternalScripts"
__type__ = "hook"
- __version__ = "0.53"
+ __version__ = "0.54"
__status__ = "testing"
__config__ = [("activated", "bool", "Activated" , True ),
@@ -178,7 +178,7 @@ class ExternalScripts(Addon):
else:
dl_folder = self.pyload.config.get("general", "download_folder")
- args = [pypack.id, pypack.name, dl_folder, pypack.password]
+ args = [pypack.pid, pypack.name, dl_folder, pypack.password]
self._call("package_deleted", args)