Skip to content

Commit dbc79d8

Browse files
committed
Note circumstances under which player.uid can be zero.
1 parent 8959107 commit dbc79d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sc2reader/objects.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ class Player(Person):
193193
subregion = int()
194194

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

199200
def __init__(self, pid, name):

0 commit comments

Comments
 (0)