summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-08 20:04:46 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-08 20:04:46 +0200
commit4f0389de1e2d198e343d2b4ad9245489b110db1c (patch)
tree2a4c937f546703beacc53c80eb0928a693b97216 /module
parentunrar cpu priority (diff)
downloadpyload-4f0389de1e2d198e343d2b4ad9245489b110db1c.tar.xz
reconnect debug
Diffstat (limited to 'module')
-rw-r--r--module/ThreadManager.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/ThreadManager.py b/module/ThreadManager.py
index 6d7171222..30c3630b1 100644
--- a/module/ThreadManager.py
+++ b/module/ThreadManager.py
@@ -130,11 +130,13 @@ class ThreadManager:
self.log.debug(_("Old IP: %s") % ip)
try:
- reconn = Popen(self.core.config['reconnect']['method'], bufsize=-1)#, stdout=subprocess.PIPE)
+ reconn = Popen(self.core.config['reconnect']['method'], bufsize=-1, shell=True)#, stdout=subprocess.PIPE)
except:
self.log.warning(_("Failed executing reconnect script!"))
self.core.config["reconnect"]["activated"] = False
self.reconnecting.clear()
+ if self.core.debug:
+ print_exc()
return
reconn.wait()