travis fix

This commit is contained in:
ingvar1995 2016-08-01 18:00:03 +03:00
parent 2a0895018a
commit 39fe859fe5
2 changed files with 10 additions and 3 deletions

View file

@ -11,6 +11,7 @@ from tox import bin_to_string
from plugin_support import PluginLoader
import queue
import threading
import util
# -----------------------------------------------------------------------------------------------------------------
@ -63,9 +64,14 @@ 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()
def start():
_thread.start()

View file

@ -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()