summaryrefslogtreecommitdiffstats
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
parentNew .part download system (diff)
downloadpyload-1e3969bc6b575072b9adeb7688b27b2cb6bb1959.tar.xz
Fixed filename bug
-rw-r--r--config2
-rwxr-xr-xmodule/network/Request.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/config b/config
index f408b2f22..3e3028bb8 100644
--- a/config
+++ b/config
@@ -24,7 +24,7 @@ reconnect_method = reconnect_method
debug_mode = False
[updates]
-search_updates = True
+search_updates = asdf
install_updates = False
[reconnectTime]
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"):