summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorAndré Glüpker <git@wgmd.de>2017-10-02 17:43:46 +0200
committerAndré Glüpker <git@wgmd.de>2017-10-02 17:43:46 +0200
commitbe6cceee32ea03815ade73b0faee680e5d8795c8 (patch)
tree1067f037dc6e1fe38bd655cbfa91ddfb6c581af5 /main.py
parent6dca917130c4b331f52f431b3033b63a0744b50a (diff)
downloadsteam-be6cceee32ea03815ade73b0faee680e5d8795c8.tar.gz
steam-be6cceee32ea03815ade73b0faee680e5d8795c8.tar.bz2
steam-be6cceee32ea03815ade73b0faee680e5d8795c8.zip
Use name of profile as 'main' information
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index fa0b728..82f9609 100755
--- a/main.py
+++ b/main.py
@@ -81,7 +81,7 @@ def lobby():
profiles = steam.getMultipleFriends(friendList)
for steamid, profile in profiles.items():
for friendid in profile['friends']:
- steamids[friendid] = {}
+ steamids[friendid] = {'main': profile['personaname']}
else:
# Load config (steamids, names)
with open(os.path.join(CONFIG, 'lobby.json'), 'rt') as config: