From 9dcb55174a2759266704364aaa48f3bcda065de8 Mon Sep 17 00:00:00 2001 From: kingzero Date: Tue, 16 Jun 2009 17:13:21 +0200 Subject: added captcha support for gigasize.com, see #6 --- pyLoadGui.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pyLoadGui.py') diff --git a/pyLoadGui.py b/pyLoadGui.py index 4e17da403..0f256686f 100755 --- a/pyLoadGui.py +++ b/pyLoadGui.py @@ -25,6 +25,7 @@ import socket from time import sleep from threading import Thread from pyLoadCore import Core +import subprocess import wxversion wxversion.select('2.8') @@ -133,8 +134,10 @@ class Pyload_Main_Gui(wx.Frame): try: self.thread = SocketThread(socket_host.host.GetValue(), int(socket_host.port.GetValue()), socket_host.password.GetValue(), self) except socket.error: - self.core = _Core_Thread() - self.core.start() + #self.core = _Core_Thread() + #self.core.start() + cmd = ['python', 'pyLoadCore.py'] + subprocess.call(cmd) sleep(1) self.thread = SocketThread(socket_host.host.GetValue(), int(socket_host.port.GetValue()), socket_host.password.GetValue(), self) -- cgit v1.2.3