From 86a2c0d6d0989bcbbf1945a3260b4e26d92bc947 Mon Sep 17 00:00:00 2001 From: Arinerron Date: Wed, 18 Apr 2018 18:50:53 -0700 Subject: [PATCH] Remove extra padding --- onionr/logger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onionr/logger.py b/onionr/logger.py index ca138559..3d25c9db 100644 --- a/onionr/logger.py +++ b/onionr/logger.py @@ -143,9 +143,9 @@ def log(prefix, data, color = '', timestamp=True): ''' curTime = '' 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: output = colors.filter(output)