From b7ba3d89e802cc5e0ff3725bde72bf24f5f5c786 Mon Sep 17 00:00:00 2001 From: spoob Date: Sun, 17 Jan 2010 22:19:57 +0100 Subject: Fixed Reconnect --- module/plugins/hoster/ShareonlineBiz.py | 1 - module/thread_list.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'module') diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py index 44ed98b54..63d05c47a 100644 --- a/module/plugins/hoster/ShareonlineBiz.py +++ b/module/plugins/hoster/ShareonlineBiz.py @@ -63,7 +63,6 @@ class ShareonlineBiz(Plugin): if self.api_data["status"] == "NOTFOUND": return self.api_data["filename"] = fields[2] - print self.api_data["filename"] self.api_data["size"] = fields[3] # in bytes self.api_data["checksum"] = fields[4].strip().lower().replace("\n\n", "") # md5 diff --git a/module/thread_list.py b/module/thread_list.py index e4952587c..c8580fece 100644 --- a/module/thread_list.py +++ b/module/thread_list.py @@ -202,7 +202,7 @@ class Thread_List(object): self.parent.logger.info("Start reconnect") ip = re.match(".*Current IP Address: (.*).*", urllib2.urlopen("http://checkip.dyndns.org/").read()).group(1) #self.parent.hookManager.beforeReconnecting(ip) - reconn = subprocess.Popen(self.parent.config['activated']['method'])#, stdout=subprocess.PIPE) + reconn = subprocess.Popen(self.parent.config['reconnect']['method'])#, stdout=subprocess.PIPE) reconn.wait() time.sleep(1) ip = "" -- cgit v1.2.3