Fix inf.py
This commit is contained in:
parent
fdc8714fe8
commit
a813780e8d
4
inf.py
4
inf.py
|
@ -1,4 +1,4 @@
|
|||
from syndicate import relay, Turn
|
||||
from syndicate import relay, turn
|
||||
from syndicate.during import During
|
||||
import logging
|
||||
|
||||
|
@ -6,4 +6,4 @@ import logging
|
|||
@During().add_handler
|
||||
def main(args):
|
||||
logging.info(f'in main {args}')
|
||||
Turn.active.on_stop(lambda: logging.info(f'args retracted {args}'))
|
||||
turn.on_stop(lambda: logging.info(f'args retracted {args}'))
|
||||
|
|
Loading…
Reference in New Issue