diff options
Diffstat (limited to 'module/plugins/hooks/HotFolder.py')
-rw-r--r-- | module/plugins/hooks/HotFolder.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/HotFolder.py b/module/plugins/hooks/HotFolder.py index c7631a1fc..c89083fb1 100644 --- a/module/plugins/hooks/HotFolder.py +++ b/module/plugins/hooks/HotFolder.py @@ -7,13 +7,13 @@ import shutil import time from module.plugins.internal.Addon import Addon -from module.utils import fs_encode, save_join as fs_join +from module.plugins.internal.utils import encode, fs_join class HotFolder(Addon): __name__ = "HotFolder" __type__ = "hook" - __version__ = "0.19" + __version__ = "0.20" __status__ = "testing" __config__ = [("activated", "bool", "Activated" , False ), @@ -32,8 +32,8 @@ class HotFolder(Addon): def periodical(self): - folder = fs_encode(self.get_config('folder')) - file = fs_encode(self.get_config('file')) + folder = encode(self.get_config('folder')) + file = encode(self.get_config('file')) try: if not os.path.isdir(os.path.join(folder, "finished")): |