mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Math: use string.ascii_uppercase instead of string.uppercase.
This commit is contained in:
parent
224bdf89e7
commit
987aaa6c37
@ -78,7 +78,7 @@ class Math(callbacks.Plugin):
|
||||
while number != 0:
|
||||
digit = number % base
|
||||
if digit >= 10:
|
||||
digit = string.uppercase[digit - 10]
|
||||
digit = string.ascii_uppercase[digit - 10]
|
||||
else:
|
||||
digit = str(digit)
|
||||
digits.append(digit)
|
||||
|
Loading…
Reference in New Issue
Block a user