summaryrefslogtreecommitdiffstats
path: root/module/download_thread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-24 16:01:03 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-08-24 16:01:03 +0200
commiteb31362ed7d7bdf24acda85915729a686dfbb86e (patch)
treee43f8d7e799a3989a62c1bace978af9f1ac6bb5f /module/download_thread.py
parentUpdated Hoerbuch.in (diff)
downloadpyload-eb31362ed7d7bdf24acda85915729a686dfbb86e.tar.xz
little fixes
Diffstat (limited to 'module/download_thread.py')
-rw-r--r--module/download_thread.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/download_thread.py b/module/download_thread.py
index 27abe919d..36b308217 100644
--- a/module/download_thread.py
+++ b/module/download_thread.py
@@ -76,7 +76,8 @@ class Download_Thread(threading.Thread):
except Reconnect:
pass
except Exception, e:
- traceback.print_exc()
+ if self.parent.parent.config['general']['debug_mode']:
+ traceback.print_exc()
self.loadedPyFile.status.type = "failed"
self.loadedPyFile.status.error = str(e)
finally: