From 514434f4465c45b151c5eb90fb6fe7ba0105d989 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 14 Oct 2017 16:33:24 +0200 Subject: Make remaining log.error/debug lazy --- poezio/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/user.py') diff --git a/poezio/user.py b/poezio/user.py index 45af17b4..0cf32f79 100644 --- a/poezio/user.py +++ b/poezio/user.py @@ -68,7 +68,7 @@ class User(object): def change_color(self, color_name, deterministic=False): color = xhtml.colors.get(color_name) if color == None: - log.error('Unknown color "%s"' % color_name) + log.error('Unknown color "%s"', color_name) if deterministic: self.set_deterministic_color() else: -- cgit v1.2.3