summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/core/core.py2
-rw-r--r--poezio/user.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index ad2fe8ab..33bbbc54 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -553,7 +553,7 @@ class Core(object):
self.xmpp.plugin['xep_0012'].begin_idle(jid=self.xmpp.boundjid)
def exit(self, event=None):
- log.debug("exit(%s)" % (event,))
+ log.debug("exit(%s)", event)
asyncio.get_event_loop().stop()
def on_exception(self, typ, value, trace):
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: