Skip to content

Commit

Permalink
Note circumstances under which player.uid can be zero.
Browse files Browse the repository at this point in the history
  • Loading branch information
GraylinKim committed Mar 15, 2013
1 parent 8959107 commit dbc79d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sc2reader/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ class Player(Person):
subregion = int()

#: The player's bnet uid for his region/subregion.
#: Used to construct the bnet profile url.
#: Used to construct the bnet profile url. This value can be zero for games
#: played offline when a user was not logged in to battle.net.
uid = int()

def __init__(self, pid, name):
Expand Down

0 comments on commit dbc79d8

Please sign in to comment.