summaryrefslogtreecommitdiffstats
path: root/module/network/Request.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/network/Request.py')
-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"):