summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ExternalScripts.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-14 02:23:37 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-07-15 16:13:41 +0200
commit48c0c42fd6faffc56432d5f037cd575979f180cc (patch)
treeb8a57137e10e201f77328dca45e2951ece123e53 /module/plugins/hooks/ExternalScripts.py
parent[l18n] Improved few source strings (diff)
downloadpyload-48c0c42fd6faffc56432d5f037cd575979f180cc.tar.xz
Removed all @author flags + key attributes cleanup for internal & hooks plugins
Diffstat (limited to 'module/plugins/hooks/ExternalScripts.py')
-rw-r--r--module/plugins/hooks/ExternalScripts.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py
index 3d84dcc3d..55aae1093 100644
--- a/module/plugins/hooks/ExternalScripts.py
+++ b/module/plugins/hooks/ExternalScripts.py
@@ -13,9 +13,6 @@
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
-
- @author: mkaay
- @interface-version: 0.1
"""
import subprocess
@@ -29,13 +26,17 @@ from module.utils import save_join
class ExternalScripts(Hook):
__name__ = "ExternalScripts"
__version__ = "0.23"
- __description__ = """Run external scripts"""
+ __type__ = "hook"
+
__config__ = [("activated", "bool", "Activated", True)]
+
+ __description__ = """Run external scripts"""
__author_name__ = ("mkaay", "RaNaN", "spoob")
__author_mail__ = ("mkaay@mkaay.de", "ranan@pyload.org", "spoob@pyload.org")
event_list = ["unrarFinished", "allDownloadsFinished", "allDownloadsProcessed"]
+
def setup(self):
self.scripts = {}