summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/HotFolder.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/HotFolder.py')
-rw-r--r--module/plugins/hooks/HotFolder.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/HotFolder.py b/module/plugins/hooks/HotFolder.py
index 21ed5ef8e..ee1031ad5 100644
--- a/module/plugins/hooks/HotFolder.py
+++ b/module/plugins/hooks/HotFolder.py
@@ -30,7 +30,7 @@ from module.plugins.Hook import Hook
class HotFolder(Hook):
__name__ = "HotFolder"
- __version__ = "0.2"
+ __version__ = "0.1"
__description__ = """observe folder and file for changes and add container and links"""
__config__ = [ ("activated", "bool", "Activated" , "False"),
("folder", "str", "Folder to observe", "container"),
@@ -46,7 +46,7 @@ class HotFolder(Hook):
def periodical(self):
- if self.getConfig("keep") and not exists(join(self.getConfig("folder"), "finished")):
+ if not exists(join(self.getConfig("folder"), "finished")):
makedirs(join(self.getConfig("folder"), "finished"))
if self.getConfig("watch_file"):
@@ -82,4 +82,4 @@ class HotFolder(Hook):
self.log.info(_("Added %s from HotFolder") % f)
self.core.api.addPackage(f, [newpath], 1)
-
+ \ No newline at end of file