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 c7631a1fc..07e46e163 100644
--- a/module/plugins/hooks/HotFolder.py
+++ b/module/plugins/hooks/HotFolder.py
@@ -7,7 +7,7 @@ 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):
@@ -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")):