Small typo in last commit
parent
c6fadd4a00
commit
48615762f7
|
@ -156,7 +156,7 @@ def register(player_name, discord_uuid):
|
||||||
if len(discord_uuid) != 0 and len(player.discord_uuid) == 0:
|
if len(discord_uuid) != 0 and len(player.discord_uuid) == 0:
|
||||||
player.discord_uuid = discord_uuid
|
player.discord_uuid = discord_uuid
|
||||||
player.save()
|
player.save()
|
||||||
return player
|
return player.json
|
||||||
else:
|
else:
|
||||||
raise PlayerInDBError
|
raise PlayerInDBError
|
||||||
except PlayerNotFound:
|
except PlayerNotFound:
|
||||||
|
|
Loading…
Reference in New Issue