Math: use string.ascii_uppercase instead of string.uppercase.

This commit is contained in:
Valentin Lorentz 2012-08-04 20:23:30 +02:00
parent 224bdf89e7
commit 987aaa6c37

View File

@ -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)