From d01091afabaeb2665fa8773ccd37cc437230c9eb Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 15 May 2020 00:32:45 +0200 Subject: Add cosmetic changes Signed-off-by: Olivier Gayot --- swiftstory/SwiftStory.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'swiftstory/SwiftStory.py') diff --git a/swiftstory/SwiftStory.py b/swiftstory/SwiftStory.py index e77363d..de3eab8 100644 --- a/swiftstory/SwiftStory.py +++ b/swiftstory/SwiftStory.py @@ -2,13 +2,13 @@ import argparse import asyncio +import json import websockets import swiftstory.GameManager from swiftstory.Client import Client from swiftstory.Status import error -import json game_manager = swiftstory.GameManager.GameManager() @@ -79,5 +79,6 @@ def main(): asyncio.get_event_loop().run_until_complete(start_server) asyncio.get_event_loop().run_forever() + if __name__ == '__main__': main() -- cgit v1.2.3