Skip to content

Commit eb1cf49

Browse files
natebot13smiley
authored andcommitted
Fixed python 3.8+ 'is not' with literal Syntax Warning
1 parent 4e324a5 commit eb1cf49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

steamapi/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def currently_playing(self):
250250
owner = APIConnection().call("IPlayerService", "IsPlayingSharedGame", "v0001",
251251
steamid=self._id,
252252
appid_playing=game.appid)
253-
if owner.lender_steamid is not 0:
253+
if owner.lender_steamid != 0:
254254
game._owner = owner.lender_steamid
255255
return game
256256
else:

0 commit comments

Comments
 (0)