finally! logger fixed!

This commit is contained in:
沈瑗杰 2021-02-15 23:52:56 +08:00
parent 4e9ac95c05
commit 63555ed7cc

View File

@ -26,8 +26,7 @@ class Game:
def __init__(self):
# basic config
self.start_time = time.strftime(
'%Y-%m-%d %H-%M-%S', time.gmtime(time.time()))
self.start_time = time.strftime('%Y-%m-%d %H-%M-%S', time.gmtime(time.time()))
# share memory
self.dicts = share().dict()
self.lists = share().list()
@ -55,6 +54,7 @@ class Game:
self.client_logger, self.dicts, self.lists, net_mode='local')
self.server = server.server(
self.lists, self.dicts, self.server_logger, net_mode='local')
# //todo log configs
# start
self.client.startGame()