Skip to content

Commit

Permalink
Fix party title from : philadams-zz#50
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennedub committed Oct 10, 2019
1 parent 8432f5b commit 6383640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions habitica/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def cli():
# if in a party, grab party info
if group:
party_id = group[0]['id']
party_title = group[0]['name']
party = group[0]['name']

# if on a quest with the party, grab quest info
quest_data = getattr(hbt.groups, party_id)()['quest']
Expand Down Expand Up @@ -363,7 +363,7 @@ def cli():
mount = items.get('currentMount', '')
if not mount:
mount = DEFAULT_MOUNT
summary_items = ('health', 'xp', 'mana', 'quest', 'pet', 'mount')
summary_items = ('health', 'xp', 'mana', 'quest', 'pet', 'mount', 'party')
len_ljust = max(map(len, summary_items)) + 1
print('-' * len(title))
print(title)
Expand Down

0 comments on commit 6383640

Please sign in to comment.