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
1 changed files with 1 additions and 1 deletions

View File

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