summaryrefslogtreecommitdiffstats
path: root/pyLoadGui.py
diff options
context:
space:
mode:
authorGravatar kingzero <devnull@localhost> 2009-06-16 17:13:21 +0200
committerGravatar kingzero <devnull@localhost> 2009-06-16 17:13:21 +0200
commit9dcb55174a2759266704364aaa48f3bcda065de8 (patch)
tree1f5e2509a3655795043950cff88633784bd21d71 /pyLoadGui.py
parentnew file list class (diff)
downloadpyload-9dcb55174a2759266704364aaa48f3bcda065de8.tar.xz
added captcha support for gigasize.com, see #6
Diffstat (limited to 'pyLoadGui.py')
-rwxr-xr-xpyLoadGui.py7
1 files changed, 5 insertions, 2 deletions
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)