feat: use fixed width for status text, remove ordinals

This commit is contained in:
Manuel Schmid
2024-05-19 20:13:29 +02:00
parent d2255a940c
commit 888de56290
3 changed files with 10 additions and 8 deletions
-4
View File
@@ -372,10 +372,6 @@ def get_file_from_folder_list(name, folders):
return os.path.abspath(os.path.realpath(os.path.join(folders[0], name)))
def ordinal_suffix(number: int) -> str:
return 'th' if 10 <= number % 100 <= 20 else {1: 'st', 2: 'nd', 3: 'rd'}.get(number % 10, 'th')
def makedirs_with_log(path):
try:
os.makedirs(path, exist_ok=True)