Tidy up kimai screen a bit
This commit is contained in:
2
hamstertools/utils.py
Normal file
2
hamstertools/utils.py
Normal file
@ -0,0 +1,2 @@
|
||||
def truncate(string: str, length: int) -> str:
|
||||
return string[: length - 2] + ".." if len(string) > 52 else string
|
Reference in New Issue
Block a user