Skip to content

Commit

Permalink
Merge pull request serverstf#32 from Necavi/necavi-patch-1
Browse files Browse the repository at this point in the history
Fix String steamID representation
  • Loading branch information
Holiverh authored Jul 6, 2017
2 parents 6a699bb + 9aba4db commit 5f79570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valve/steam/id.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def __init__(self, account_number, instance, type, universe):
if instance not in [1, 0]:
raise SteamIDError(
"Expected instance to be 1 or 0, got {}".format(instance))
self.account_number = account_number # Z
self.account_number = int(account_number) # Z
self.instance = instance # Y
self.type = type
self.universe = universe # X
Expand Down

0 comments on commit 5f79570

Please sign in to comment.