refactor: remove method ordinal_suffix, not needed anymore

This commit is contained in:
Manuel Schmid 2024-05-30 00:21:18 +02:00
parent 1981ace9e1
commit 9c8ffbbe18
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
1 changed files with 0 additions and 3 deletions

View File

@ -382,9 +382,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: