mirror of
https://github.com/Jylpah/blitz-tools.git
synced 2026-10-21 02:07:06 +02:00
commit mix fixes
This commit is contained in:
1 parent
859c7aa293
commit
b5efc4bc9d
1 file changed
+2
-3
@@ -25,7 +25,7 @@ BLITZAPP_VEHICLE_FILE='list.xml'
|
||||
wg : WG | None = None
|
||||
|
||||
## main() -------------------------------------------------------------
|
||||
async def main(argv: list[str]) -> None:
|
||||
async def main() -> None:
|
||||
global wg
|
||||
# set the directory for the script
|
||||
os.chdir(os.path.dirname(sys.argv[0]))
|
||||
@@ -245,5 +245,4 @@ if __name__ == "__main__":
|
||||
else:
|
||||
if not isinstance(get_event_loop_policy(), WindowsSelectorEventLoopPolicy):
|
||||
set_event_loop_policy(WindowsSelectorEventLoopPolicy())
|
||||
#asyncio.run(main(sys.argv[1:]), debug=True)
|
||||
run(main(sys.argv[1:]))
|
||||
run(main())
|
||||
Reference in new issue
Block a user