sstatus
This commit is contained in:
parent
72e0e27127
commit
14c847e06c
2
sstatus
2
sstatus
@ -61,7 +61,7 @@ def personastate(n):
|
|||||||
def main():
|
def main():
|
||||||
#print('\n'.join([friend['steamid'] for friend in get_friend_list(uid)]))
|
#print('\n'.join([friend['steamid'] for friend in get_friend_list(uid)]))
|
||||||
for player in get_player_summaries([friend['steamid'] for friend in get_friend_list(uid)]):
|
for player in get_player_summaries([friend['steamid'] for friend in get_friend_list(uid)]):
|
||||||
print(player['personaname'] + ': ' + personastate(player['personastate']) + (', ' + player['gameextrainfo'] if 'gameextrainfo' in player else ''))
|
print(player['personaname'] + ': ' + personastate(player['personastate']) + (', playing ' + player['gameextrainfo'] if 'gameextrainfo' in player else ''))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user