summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/UpdateManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/UpdateManager.py')
-rw-r--r--module/plugins/hooks/UpdateManager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py
index 5f71ad6fa..9e01989d9 100644
--- a/module/plugins/hooks/UpdateManager.py
+++ b/module/plugins/hooks/UpdateManager.py
@@ -5,7 +5,7 @@ import sys
from operator import itemgetter
from os import remove, stat
-from os.path import isfile
+from os.path import isfile, join
from time import time
from module.network.RequestFactory import getURL
@@ -257,7 +257,7 @@ class UpdateManager(Hook):
py_file = name + ".py"
pyc_file = name + ".pyc"
- for root in ("userplugins", save_join(pypath, "module", "plugins")):
+ for root in ("userplugins", join(pypath, "module", "plugins")):
py_filename = save_join(root, type, py_file)
pyc_filename = save_join(root, type, pyc_file)