Passthrough loglevel from qtractor

bar_select
Tyler Goodlet 2020-08-02 12:17:38 -04:00
parent 2eea946e5b
commit d81f6620f5
1 changed files with 1 additions and 4 deletions

View File

@ -16,7 +16,6 @@ import tractor
from outcome import Error from outcome import Error
# Taken from Quantdom
class MainWindow(QtGui.QMainWindow): class MainWindow(QtGui.QMainWindow):
size = (800, 500) size = (800, 500)
@ -89,8 +88,6 @@ def run_qtractor(
'main': instance, 'main': instance,
} }
# force mp since we may spawn an ib asyncio based backend
tractor._spawn.try_set_start_method('forkserver')
# setup tractor entry point args # setup tractor entry point args
args = ( args = (
# async_fn # async_fn
@ -98,7 +95,7 @@ def run_qtractor(
# args # args
(widgets,), (widgets,),
# kwargs # kwargs
{'loglevel': 'info'}, {'loglevel': loglevel},
# arbiter_addr # arbiter_addr
( (
tractor._default_arbiter_host, tractor._default_arbiter_host,