Skip to content

Commit

Permalink
fix: remove useless weekday name keys
Browse files Browse the repository at this point in the history
  • Loading branch information
txtxj authored May 9, 2023
1 parent 47d8789 commit 4b535ba
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions sources/graphics_list_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,7 @@ def make_last_7_day_time_list(data: List) -> str:
:param data: User summaries over last 7 days.
:returns: string representation of statistics.
"""
full_name = {
"Mon": WEEK_DAY_NAMES[0],
"Tue": WEEK_DAY_NAMES[1],
"Wed": WEEK_DAY_NAMES[2],
"Thu": WEEK_DAY_NAMES[3],
"Fri": WEEK_DAY_NAMES[4],
"Sat": WEEK_DAY_NAMES[5],
"Sun": WEEK_DAY_NAMES[6]
}
full_name = {day[:3]: day for day in WEEK_DAY_NAMES}
names = []
texts = []
percents = []
Expand Down

0 comments on commit 4b535ba

Please sign in to comment.