summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2009-08-30 13:49:09 +0200
committerGravatar spoob <spoob@gmx.de> 2009-08-30 13:49:09 +0200
commit1e3969bc6b575072b9adeb7688b27b2cb6bb1959 (patch)
tree255534bd814522e9c445f4a0b97bd966213d59ba /module/network
parentNew .part download system (diff)
downloadpyload-1e3969bc6b575072b9adeb7688b27b2cb6bb1959.tar.xz
Fixed filename bug
Diffstat (limited to 'module/network')
-rwxr-xr-xmodule/network/Request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index 63ed217ed..9adfa41a0 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -275,7 +275,7 @@ class Request:
if not self.dl:
self.dl = True
- file = open(filename, 'wb')
+ file = open(file_name, 'wb')
conn = self.downloader.open(req, post)
if conn.headers.has_key("content-length"):