travis fix
This commit is contained in:
parent
2a0895018a
commit
39fe859fe5
@ -11,6 +11,7 @@ from tox import bin_to_string
|
||||
from plugin_support import PluginLoader
|
||||
import queue
|
||||
import threading
|
||||
import util
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------------------------------------------
|
||||
@ -63,10 +64,15 @@ class FileTransfersThread(threading.Thread):
|
||||
except queue.Empty:
|
||||
pass
|
||||
except queue.Full:
|
||||
print('Full')
|
||||
util.log('Queue is Full in _thread')
|
||||
except Exception as ex:
|
||||
util.log('Exception in _thread: ' + str(ex))
|
||||
|
||||
_thread = FileTransfersThread()
|
||||
_thread.start()
|
||||
|
||||
|
||||
def start():
|
||||
_thread.start()
|
||||
|
||||
|
||||
def stop():
|
||||
|
@ -8,7 +8,7 @@ except ImportError:
|
||||
from PyQt4 import QtCore, QtGui
|
||||
from bootstrap import node_generator
|
||||
from mainscreen import MainWindow
|
||||
from callbacks import init_callbacks, stop
|
||||
from callbacks import init_callbacks, stop, start
|
||||
from util import curr_directory, program_version
|
||||
import styles.style
|
||||
import platform
|
||||
@ -262,6 +262,7 @@ class Toxygen:
|
||||
plugin_helper = PluginLoader(self.tox, settings) # plugin support
|
||||
plugin_helper.load()
|
||||
|
||||
start()
|
||||
# init thread
|
||||
self.init = self.InitThread(self.tox, self.ms, self.tray)
|
||||
self.init.start()
|
||||
|
Loading…
Reference in New Issue
Block a user