Skip to content

Commit

Permalink
Little optimization regarding statistics output
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc-st committed May 6, 2023
1 parent 46b13a3 commit 813e47b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions humble.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ def url_analytics():
print(f"{get_detail('[stats_analysis]', replace=True)}{URL}")
print("")
for key, value in analysis_stats.items():
if key in ('Main', 'Analysis', 'Averages', 'Per year', 'Principales',
'Análisis', 'Promedios', 'Por año'):
if not value or key in ('Per year', 'Por año'):
key = f"{Style.BRIGHT}{key}{Style.RESET_ALL}"
print(f"{key}: {value}")

Expand Down

0 comments on commit 813e47b

Please sign in to comment.