From 97db7a403a8a1b2802f3563a42e422f4054bc584 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Tue, 30 May 2023 18:40:41 -0400 Subject: [PATCH] Fixed formatting --- ircp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircp.py b/ircp.py index 2dd5b65..f022db1 100644 --- a/ircp.py +++ b/ircp.py @@ -131,7 +131,7 @@ def debug(data): def error(data, reason=None): if settings.errors: - print('{0} \033[30m|\033[0m [\033[31m!\033[0m] {1} \033[30m({2})\033[0m'.format(time.strftime('%I:%M:%S'), data, str(reason))) if reason else print('{0} \033[30m|\033[0m [\033[31m!\033[0m] - {1}'.format(time.strftime('%I:%M:%S'), data)) + print('{0} \033[30m|\033[0m [\033[31m!\033[0m] {1} \033[30m({2})\033[0m'.format(time.strftime('%I:%M:%S'), data, str(reason))) if reason else print('{0} \033[30m|\033[0m [\033[31m!\033[0m] {1}'.format(time.strftime('%I:%M:%S'), data)) def rndnick(): prefix = random.choice(['st','sn','cr','pl','pr','fr','fl','qu','br','gr','sh','sk','tr','kl','wr','bl']+list('bcdfgklmnprstvwz'))