Use new tractor kwargs getter func
parent
0cd87d9e54
commit
470079665f
|
@ -49,7 +49,10 @@ from qdarkstyle import DarkPalette
|
||||||
import trio
|
import trio
|
||||||
from outcome import Error
|
from outcome import Error
|
||||||
|
|
||||||
from .._daemon import maybe_open_pikerd, _tractor_kwargs
|
from .._daemon import (
|
||||||
|
maybe_open_pikerd,
|
||||||
|
get_tractor_runtime_kwargs,
|
||||||
|
)
|
||||||
from ..log import get_logger
|
from ..log import get_logger
|
||||||
from ._pg_overrides import _do_overrides
|
from ._pg_overrides import _do_overrides
|
||||||
from . import _style
|
from . import _style
|
||||||
|
@ -170,7 +173,7 @@ def run_qtractor(
|
||||||
instance.window = window
|
instance.window = window
|
||||||
|
|
||||||
# override tractor's defaults
|
# override tractor's defaults
|
||||||
tractor_kwargs.update(_tractor_kwargs)
|
tractor_kwargs.update(get_tractor_runtime_kwargs())
|
||||||
|
|
||||||
# define tractor entrypoint
|
# define tractor entrypoint
|
||||||
async def main():
|
async def main():
|
||||||
|
|
Loading…
Reference in New Issue