diff options
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -81,7 +81,10 @@ def lobby(): profiles = steam.getMultipleFriends(friendList) for steamid, profile in profiles.items(): for friendid in profile['friends']: - steamids[friendid] = {'main': profile['personaname']} + if friendid in steamids: + steamids[friendid]['main'] += ', ' + profile['personaname'] + else: + steamids[friendid] = {'main': profile['personaname']} else: # Load config (steamids, names) with open(os.path.join(CONFIG, 'lobby.json'), 'rt') as config: |