Remove extra padding
parent
7369b63614
commit
86a2c0d6d0
|
@ -143,9 +143,9 @@ def log(prefix, data, color = '', timestamp=True):
|
||||||
'''
|
'''
|
||||||
curTime = ''
|
curTime = ''
|
||||||
if timestamp:
|
if timestamp:
|
||||||
curTime = time.strftime("%m-%d %H:%M:%S")
|
curTime = time.strftime("%m-%d %H:%M:%S") + ' '
|
||||||
|
|
||||||
output = colors.reset + str(color) + '[' + colors.bold + str(prefix) + colors.reset + str(color) + '] ' + curTime + ' ' + str(data) + colors.reset
|
output = colors.reset + str(color) + '[' + colors.bold + str(prefix) + colors.reset + str(color) + '] ' + curTime + str(data) + colors.reset
|
||||||
if not get_settings() & USE_ANSI:
|
if not get_settings() & USE_ANSI:
|
||||||
output = colors.filter(output)
|
output = colors.filter(output)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue