mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05: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:
|
while number != 0:
|
||||||
digit = number % base
|
digit = number % base
|
||||||
if digit >= 10:
|
if digit >= 10:
|
||||||
digit = string.uppercase[digit - 10]
|
digit = string.ascii_uppercase[digit - 10]
|
||||||
else:
|
else:
|
||||||
digit = str(digit)
|
digit = str(digit)
|
||||||
digits.append(digit)
|
digits.append(digit)
|
||||||
|
Loading…
Reference in New Issue
Block a user