зеркало из
https://github.com/viginum-datalab/twscrape.git
synced 2025-10-29 13:06:13 +02:00
handle KeyboardInterrupt in cli
Этот коммит содержится в:
родитель
4b67be62bb
Коммит
5fc84d8696
@ -193,4 +193,7 @@ def run():
|
||||
if args.command is None:
|
||||
return custom_help(p)
|
||||
|
||||
asyncio.run(main(args))
|
||||
try:
|
||||
asyncio.run(main(args))
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user