Skip to content

Commit

Permalink
steamid: fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
rossengeorgiev committed Sep 30, 2020
1 parent 92c5107 commit af83f83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions steam/steamid.py
Expand Up @@ -289,10 +289,10 @@ def make_steam64(id=0, *args, **kwargs):
universe = EUniverse.Public
# 64 bit
elif value < 2**64:
accountid = value & 0xFFFFFFFF
instance = (value >> 32) & 0xFFFFF
etype = (value >> 52) & 0xF
universe = (value >> 56) & 0xFF
accountid = int(value & 0xFFFFFFFF)
instance = int((value >> 32) & 0xFFFFF)
etype = int((value >> 52) & 0xF)
universe = int((value >> 56) & 0xFF)
# invalid account id
else:
accountid = 0
Expand Down

0 comments on commit af83f83

Please sign in to comment.