diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-08 20:04:46 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-08 20:04:46 +0200 |
commit | 4f0389de1e2d198e343d2b4ad9245489b110db1c (patch) | |
tree | 2a4c937f546703beacc53c80eb0928a693b97216 | |
parent | unrar cpu priority (diff) | |
download | pyload-4f0389de1e2d198e343d2b4ad9245489b110db1c.tar.xz |
reconnect debug
-rw-r--r-- | module/ThreadManager.py | 4 |
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() |