summaryrefslogtreecommitdiffstats
path: root/module/PluginThread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-01 13:40:51 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-01 13:40:51 +0100
commit65c01483993750b365cb5ae19ecb4ce339565575 (patch)
tree9d5380abf465c2861958ba1a77c2bbd4b7cebe6f /module/PluginThread.py
parentHappy new Year !!! (diff)
downloadpyload-65c01483993750b365cb5ae19ecb4ce339565575.tar.xz
closed #200
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r--module/PluginThread.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py
index 4c1d93af2..d5f969f80 100644
--- a/module/PluginThread.py
+++ b/module/PluginThread.py
@@ -31,6 +31,7 @@ from os.path import join, exists
from pycurl import error
+from Utils import save_join
from module.plugins.Plugin import Abort
from module.plugins.Plugin import Fail
from module.plugins.Plugin import Reconnect
@@ -153,7 +154,7 @@ class DownloadThread(PluginThread):
if self.m.core.config["general"]["skip_existing"] and \
((not pyfile.name.startswith("http:") and exists(
- join(self.m.core.config["general"]["download_folder"], pyfile.package().folder, pyfile.name)
+ save_join(self.m.core.config["general"]["download_folder"], pyfile.package().folder, pyfile.name)
)) or current):
self.m.log.info(_("Download skipped: %(name)s @ %(plugin)s") % {"name": pyfile.name,
"plugin": pyfile.plugin.__name__