Really basic check that username exists

This commit is contained in:
Worros 2008-12-10 21:21:43 +09:00
parent dc33003ce4
commit 9ca0574d78

View File

@ -46,6 +46,7 @@ class GuiPlayerStats (threading.Thread):
result = self.cursor.execute(self.sql.query['getPlayerId'], self.heroes[self.activesite])
result = self.db.cursor.fetchall()
if not result == ():
pid = result[0][0]
tmp = tmp.replace("<player_test>", "(" + str(pid) + ")")
self.cursor.execute(tmp)