summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorTeddy <[email protected]>2013-09-02 15:55:35 +0800
committerTeddy <[email protected]>2013-09-02 15:55:35 +0800
commit7e474fb8d9b5006043d62692d828da9510eadd6c (patch)
tree46fa2cab5d7d3cc999c84f3290d62b4b94c4841f /server
parentbbd31e455a23aa353350fe6407fa8c2f6799c06d (diff)
rename the database
Diffstat (limited to 'server')
-rw-r--r--server/piztor/easy_import.py2
-rw-r--r--server/piztor/game_server.py2
-rw-r--r--server/piztor/import.py2
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,