Really basic check that username exists
This commit is contained in:
parent
dc33003ce4
commit
9ca0574d78
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user