summaryrefslogtreecommitdiff
path: root/poezio/user.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-10-14 16:33:24 +0200
committermathieui <mathieui@mathieui.net>2017-10-14 16:33:24 +0200
commit514434f4465c45b151c5eb90fb6fe7ba0105d989 (patch)
tree3276e24f8023ca914255c72fed76a3831c22516e /poezio/user.py
parent9d261c902f075b7a8bdab26f8384942ff7f949be (diff)
downloadpoezio-514434f4465c45b151c5eb90fb6fe7ba0105d989.tar.gz
poezio-514434f4465c45b151c5eb90fb6fe7ba0105d989.tar.bz2
poezio-514434f4465c45b151c5eb90fb6fe7ba0105d989.tar.xz
poezio-514434f4465c45b151c5eb90fb6fe7ba0105d989.zip
Make remaining log.error/debug lazy
Diffstat (limited to 'poezio/user.py')
-rw-r--r--poezio/user.py2
1 files changed, 1 insertions, 1 deletions
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: