diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-01 13:40:51 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-01 13:40:51 +0100 |
commit | 65c01483993750b365cb5ae19ecb4ce339565575 (patch) | |
tree | 9d5380abf465c2861958ba1a77c2bbd4b7cebe6f /module/PluginThread.py | |
parent | Happy new Year !!! (diff) | |
download | pyload-65c01483993750b365cb5ae19ecb4ce339565575.tar.xz |
closed #200
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r-- | module/PluginThread.py | 3 |
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__ |