summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-01-07 23:15:49 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-01-07 23:15:49 +0100
commit03ec7f017c882c304be1d0759a348d5305f27d42 (patch)
treeaae22019e7778148e92d0b983f61de1a3747815b /module/Api.py
parentshow empty packages (diff)
downloadpyload-03ec7f017c882c304be1d0759a348d5305f27d42.tar.xz
xfilesharengprofolder using new crypter api, allow slash in package name
Diffstat (limited to 'module/Api.py')
-rw-r--r--module/Api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/Api.py b/module/Api.py
index 769fcdf0d..d707b18fc 100644
--- a/module/Api.py
+++ b/module/Api.py
@@ -301,7 +301,7 @@ class Api(Iface):
else:
folder = ""
- folder = folder.replace("http://", "").replace(":", "").replace("/", "_").replace("\\", "_")
+ folder = folder.replace("http://", "").replace(":", "").replace("\\", "_") #.replace("/", "_")
self.core.log.info(_("Added package %(name)s containing %(count)d links") % {"name": name, "count": len(links)})
pid = self.core.files.addPackage(name, folder, dest, password)