summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2010-01-17 22:19:57 +0100
committerGravatar spoob <spoob@gmx.de> 2010-01-17 22:19:57 +0100
commitb7ba3d89e802cc5e0ff3725bde72bf24f5f5c786 (patch)
tree8595f7efc5b19dad0b77da805cc3710a5890163c
parentsome fixes, closed #62 ?? (diff)
downloadpyload-b7ba3d89e802cc5e0ff3725bde72bf24f5f5c786.tar.xz
Fixed Reconnect
-rw-r--r--module/plugins/hoster/ShareonlineBiz.py1
-rw-r--r--module/thread_list.py2
2 files changed, 1 insertions, 2 deletions
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: (.*)</body>.*", 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 = ""