add choice to enable store game state into .env file

This commit is contained in:
2024-04-13 01:09:51 +02:00
parent b3d98dbdeb
commit 55c4a8aa72
+4
View File
@@ -28,4 +28,8 @@ if __name__ == "__main__":
port=int(os.environ.get("PORT", "8000")), port=int(os.environ.get("PORT", "8000")),
debug=bool(os.environ.get("debug", False)), debug=bool(os.environ.get("debug", False)),
) )
if os.environ.get("store_game", None):
server.enable_store_game_state()
server.run() server.run()