summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
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)