Fixed bug in rainbow function which breaks output with numbers
This commit is contained in:
parent
18e09a1a57
commit
ba9cdd2527
2
TODOs
Normal file
2
TODOs
Normal file
@ -0,0 +1,2 @@
|
||||
10:49 <&McManiaC> .jn 'fu
|
||||
10:49 <%nxy> Invalid arguments: No closing quotation.
|
@ -311,4 +311,4 @@ class Useless(DatabasePlugin):
|
||||
|
||||
# noinspection PyMethodMayBeStatic
|
||||
def _rainbow(self, i, char):
|
||||
return '\x030{}{}'.format(RAINBOW[i % RAINBOW_LEN], char)
|
||||
return '\x030{0:02d}{1}'.format(RAINBOW[i % RAINBOW_LEN], char)
|
||||
|
Loading…
Reference in New Issue
Block a user