Permalink
Browse files

whoops

  • Loading branch information...
cflavio committed Nov 28, 2018
1 parent f0aeca8 commit 8903ead97f1da3161ff442a7c8ea8e55fb69fdde
Showing with 6 additions and 7 deletions.
  1. +1 −1 menu/registerpage.py
  2. +1 −1 menu/resetpage.py
  3. +2 −3 yorg/client.py
  4. +1 −1 yorg/logic.py
  5. +1 −1 yyagl
@@ -55,7 +55,7 @@ def register(self, pwd_name=None):
def process_msg(data_lst, sender):
print sender, data_lst
if len(self.pwd_ent.text) >= 6:
self.eng.client.start(process_msg, self.eng.cfg.dev_cfg.server)
self.eng.client.start(process_msg)
self.eng.client.register_rpc('register')
self.eng.client.register_rpc('get_salt')
salt = self.eng.client.get_salt(self.jid_ent.text)
@@ -47,7 +47,7 @@ def build(self):
def reset(self, pwd_name=None):
def process_msg(data_lst, sender):
print sender, data_lst
self.eng.client.start(process_msg, self.eng.cfg.dev_cfg.server)
self.eng.client.start(process_msg)
self.eng.client.register_rpc('reset')
self.ret_val = ret_val = self.eng.client.reset(self.jid_ent.get(), self.email_ent.get())
ok_txt = _(
@@ -13,8 +13,7 @@ def __init__(self, uid, is_supporter, is_playing):
class YorgClient(Client):
def __init__(self, port, server):
Client.__init__(self, port)
self.__server = server
Client.__init__(self, port, server)
self.authenticated = False
self.is_server_up = True
#self.restart()
@@ -23,7 +22,7 @@ def __init__(self, port, server):
self.is_client_active = False
def restart(self):
try: self.is_server_up = self.start(self.on_msg, self.__server)
try: self.is_server_up = self.start(self.on_msg)
except error: self.is_server_up = False
def init(self, uid):
@@ -180,7 +180,7 @@ def process_msg(data_lst, sender):
self.eng.log_mgr.log('start_race: ' + str(data_lst))
cars = data_lst[4::7]
self.on_car_start_client(self.sel_track, car, cars, data_lst)
self.eng.client.start(process_msg, server)
self.eng.client.start(process_msg)
self.eng.client.send([NetMsgs.car_request, car, self.eng.client.my_addr])
gprops = self.mediator.gameprops
sprops = self.season.props
2 yyagl

0 comments on commit 8903ead

Please sign in to comment.