Move the cogs into a subdir
This commit is contained in:
parent
93337ebde9
commit
d3cdec3965
6 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ def format_day(time: datetime) -> str:
|
|||
return f"{day} {num}"
|
||||
|
||||
|
||||
def format_list(list) -> str:
|
||||
def format_list(list: list) -> str:
|
||||
"""Format a list into a human readable format of foo, bar and bob"""
|
||||
if len(list) > 1:
|
||||
return f"{', '.join(list[:-1])} and {list[-1]}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue