From d81f6620f5c2a7dc37cf3f198ab9d4a148e79bb1 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 2 Aug 2020 12:17:38 -0400 Subject: [PATCH] Passthrough loglevel from qtractor --- piker/ui/_exec.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/piker/ui/_exec.py b/piker/ui/_exec.py index 06944d0e..9a2c4ce7 100644 --- a/piker/ui/_exec.py +++ b/piker/ui/_exec.py @@ -16,7 +16,6 @@ import tractor from outcome import Error -# Taken from Quantdom class MainWindow(QtGui.QMainWindow): size = (800, 500) @@ -89,8 +88,6 @@ def run_qtractor( '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 args = ( # async_fn @@ -98,7 +95,7 @@ def run_qtractor( # args (widgets,), # kwargs - {'loglevel': 'info'}, + {'loglevel': loglevel}, # arbiter_addr ( tractor._default_arbiter_host,