summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-11 18:07:25 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-11 18:07:25 +0200
commit2a9f6b1c430747db01a0df68e516951bc7ffd35f (patch)
tree4654c9da620791092ea474144fe821fd2580d790 /pyLoadCore.py
parentDepositFiles fix 2 (diff)
downloadpyload-2a9f6b1c430747db01a0df68e516951bc7ffd35f.tar.xz
folder name fix, skip existing files
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index 0bed53267..a5c59fec1 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -579,6 +579,8 @@ class ServerMethods():
else:
folder = ""
+ folder = folder.replace("http://","").replace(":","").replace("/","_").replace("\\","_")
+
pid = self.core.files.addPackage(name, folder, queue)
self.core.files.addLinks(links, pid)