diff options
author | emkael <emkael@tlen.pl> | 2019-07-25 15:18:24 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-07-25 15:18:24 +0200 |
commit | 941bf6bb283d8ef1189ee6c10113aa72e204ae1c (patch) | |
tree | c06e9481784ec5e5f7ad5bba06f7df97bbc4f6a8 /ausbutler/interface.py | |
parent | d0a8f6951d2d35aa0301b607e17866adc01f1cd8 (diff) |
Linking to players' profiles
Fixes #7
Diffstat (limited to 'ausbutler/interface.py')
-rw-r--r-- | ausbutler/interface.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ausbutler/interface.py b/ausbutler/interface.py index 2f5ee8e..b3d7c21 100644 --- a/ausbutler/interface.py +++ b/ausbutler/interface.py @@ -243,6 +243,7 @@ class Interface(object): players[butler.id] = { 'name': str(butler.player).decode('utf8'), 'team': str(butler.player.team_).decode('utf8') if butler.player else None, + 'link': Constants.plink.replace(':LINK:', butler.player.link) if butler.player is not None and Constants.plink else None, 'sum': 0, 'count': 0, 'results': copy(result_template) |