summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/addon/HotFolder.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-20 02:34:31 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-20 02:34:31 +0100
commit6d4fbe6b3e18f75110e0420215ba5df3e0d9d7b3 (patch)
treed9b209d2627bdb3aa58094c814c235cc1b764f3e /pyload/plugins/addon/HotFolder.py
parentImport threading instead thread + thread cleanup (diff)
downloadpyload-6d4fbe6b3e18f75110e0420215ba5df3e0d9d7b3.tar.xz
__config__ cleanup for addons
Diffstat (limited to 'pyload/plugins/addon/HotFolder.py')
-rw-r--r--pyload/plugins/addon/HotFolder.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/pyload/plugins/addon/HotFolder.py b/pyload/plugins/addon/HotFolder.py
index 491b9e2da..e91b9e04f 100644
--- a/pyload/plugins/addon/HotFolder.py
+++ b/pyload/plugins/addon/HotFolder.py
@@ -15,10 +15,11 @@ class HotFolder(Addon):
__type__ = "addon"
__version__ = "0.11"
- __config__ = [("folder", "str", "Folder to observe", "container"),
- ("watch_file", "bool", "Observe link file", False),
- ("keep", "bool", "Keep added containers", True),
- ("file", "str", "Link file", "links.txt")]
+ __config__ = [("activated" , "bool", "Activated" , False ),
+ ("folder" , "str" , "Folder to observe" , "container"),
+ ("watch_file", "bool", "Observe link file" , False ),
+ ("keep" , "bool", "Keep added containers", True ),
+ ("file" , "str" , "Link file" , "links.txt")]
__description__ = """Observe folder and file for changes and add container and links"""
__license__ = "GPLv3"