summaryrefslogtreecommitdiffstats
path: root/pyLoadGui.py
diff options
context:
space:
mode:
authorGravatar kingzero <devnull@localhost> 2009-06-16 17:13:58 +0200
committerGravatar kingzero <devnull@localhost> 2009-06-16 17:13:58 +0200
commit2482c76a31880e5fc3a32393b56a1e7fca1fe9c4 (patch)
treef9222f225357bf9d55a6538aac5588a0dea01c43 /pyLoadGui.py
parentAdded Zippyshare.com Download Plugin (diff)
parentadded captcha support for gigasize.com, see #6 (diff)
downloadpyload-2482c76a31880e5fc3a32393b56a1e7fca1fe9c4.tar.xz
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)