commit mix fixes

This commit is contained in:
jylpah committed 2023-09-10 17:47:13 +03:00
1 parent 859c7aa293
commit b5efc4bc9d
2 files changed
+3 -4

No files matched your search

+2 -3
View File
@@ -25,7 +25,7 @@ BLITZAPP_VEHICLE_FILE='list.xml'
wg : WG | None = None wg : WG | None = None
## main() ------------------------------------------------------------- ## main() -------------------------------------------------------------
async def main(argv: list[str]) -> None: async def main() -> None:
global wg global wg
# set the directory for the script # set the directory for the script
os.chdir(os.path.dirname(sys.argv[0])) os.chdir(os.path.dirname(sys.argv[0]))
@@ -245,5 +245,4 @@ if __name__ == "__main__":
else: else:
if not isinstance(get_event_loop_policy(), WindowsSelectorEventLoopPolicy): if not isinstance(get_event_loop_policy(), WindowsSelectorEventLoopPolicy):
set_event_loop_policy(WindowsSelectorEventLoopPolicy()) set_event_loop_policy(WindowsSelectorEventLoopPolicy())
#asyncio.run(main(sys.argv[1:]), debug=True) run(main())
run(main(sys.argv[1:]))
+1 -1
View File
@@ -57,4 +57,4 @@
"skit": "Naval Frontier", "skit": "Naval Frontier",
"test": "World of Ducks", "test": "World of Ducks",
"tutorial": "Proving Grounds" "tutorial": "Proving Grounds"
} }