Revert "Merge pull request #3 from Sitryk/patch-1"
This reverts commit4824870275, reversing changes made to774cc620d5.
This commit is contained in:
@@ -169,9 +169,7 @@ class ImgWelcome:
|
||||
|
||||
def _get_suffix(self, num):
|
||||
num = str(num)
|
||||
last = num[-1)]
|
||||
if num[-2] == "1":
|
||||
return "th"
|
||||
last = num[len(num)-1:len(num)]
|
||||
if last == "1":
|
||||
return "st"
|
||||
elif last == "2":
|
||||
|
||||
Reference in New Issue
Block a user