Pass loglevel as named arg to pikerd
parent
7d6bc4d856
commit
8a140b5ae8
|
@ -50,7 +50,7 @@ def pikerd(loglevel, host, tl, pdb):
|
||||||
))
|
))
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
async with open_pikerd(loglevel, debug_mode=pdb):
|
async with open_pikerd(loglevel=loglevel, debug_mode=pdb):
|
||||||
await trio.sleep_forever()
|
await trio.sleep_forever()
|
||||||
|
|
||||||
trio.run(main)
|
trio.run(main)
|
||||||
|
|
Loading…
Reference in New Issue