diff options
author | kingzero <devnull@localhost> | 2009-06-16 17:13:58 +0200 |
---|---|---|
committer | kingzero <devnull@localhost> | 2009-06-16 17:13:58 +0200 |
commit | 2482c76a31880e5fc3a32393b56a1e7fca1fe9c4 (patch) | |
tree | f9222f225357bf9d55a6538aac5588a0dea01c43 /pyLoadGui.py | |
parent | Added Zippyshare.com Download Plugin (diff) | |
parent | added captcha support for gigasize.com, see #6 (diff) | |
download | pyload-2482c76a31880e5fc3a32393b56a1e7fca1fe9c4.tar.xz |
Merge with 91d07331e1a9707a3dccb47a373ac516a7ebca8a
Diffstat (limited to 'pyLoadGui.py')
-rwxr-xr-x | pyLoadGui.py | 7 |
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) |