diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/piztor/easy_import.py | 2 | ||||
-rw-r--r-- | server/piztor/game_server.py | 2 | ||||
-rw-r--r-- | server/piztor/import.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/server/piztor/easy_import.py b/server/piztor/easy_import.py index 2a050d8..44c8c52 100644 --- a/server/piztor/easy_import.py +++ b/server/piztor/easy_import.py @@ -2,7 +2,7 @@ from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from model import * -path = "root:helloworld@localhost/piztor2" +path = "root:helloworld@localhost/piztor_game" class UserData: def __init__(self, username, nickname, password, diff --git a/server/piztor/game_server.py b/server/piztor/game_server.py index 60b7015..f1003e0 100644 --- a/server/piztor/game_server.py +++ b/server/piztor/game_server.py @@ -20,7 +20,7 @@ from model import * def get_hex(data): return "".join([hex(ord(c))[2:].zfill(2) for c in data]) -db_path = "root:helloworld@localhost/piztor2" +db_path = "root:helloworld@localhost/piztor_game" #db_path = "piztor.sqlite" FORMAT = "%(asctime)-15s %(message)s" logging.basicConfig(format = FORMAT) diff --git a/server/piztor/import.py b/server/piztor/import.py index e552c91..4caa8a9 100644 --- a/server/piztor/import.py +++ b/server/piztor/import.py @@ -2,7 +2,7 @@ from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from model import * -path = "root:helloworld@localhost/piztor" +path = "root:helloworld@localhost/piztor_game" class UserData: def __init__(self, username, nickname, password, |