summaryrefslogtreecommitdiffstats
path: root/module/web
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-06 17:28:41 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-06 17:28:41 +0200
commite401472c292205cd0ca4c286d8a3ec42982783ed (patch)
tree74726a6ca3239140599a755d779f900190e7eb4e /module/web
parentLittle bits to settings design (diff)
downloadpyload-e401472c292205cd0ca4c286d8a3ec42982783ed.tar.xz
container upload fix
Diffstat (limited to 'module/web')
-rw-r--r--module/web/ajax/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/web/ajax/views.py b/module/web/ajax/views.py
index b1fe2f676..588881eea 100644
--- a/module/web/ajax/views.py
+++ b/module/web/ajax/views.py
@@ -62,7 +62,7 @@ def add_package(request):
if name == None or name == "":
name = f.name
- fpath = join(settings.DL_ROOT, f.name)
+ fpath = join(settings.PYLOAD.get_conf_val("general","download_folder"), "tmp_"+ f.name)
destination = open(fpath, 'wb')
for chunk in f.chunks():
destination.write(chunk)