Remove extra padding

This commit is contained in:
Arinerron 2018-04-18 18:50:53 -07:00
parent 7369b63614
commit 86a2c0d6d0
No known key found for this signature in database
GPG Key ID: 99383627861C62F0

View File

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