summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-05-17 19:48:42 +0200
committermathieui <mathieui@mathieui.net>2020-05-17 19:48:42 +0200
commit01ebe78401de1a550935c489033800cbd8fd768a (patch)
tree5738b4f2e8e32ed2ddf3e24ea60fa96b79ce32c4
parent5bfca8a704b14bc4ba2d8cb1e5cfeb3cfa0afdca (diff)
downloadpoezio-01ebe78401de1a550935c489033800cbd8fd768a.tar.gz
poezio-01ebe78401de1a550935c489033800cbd8fd768a.tar.bz2
poezio-01ebe78401de1a550935c489033800cbd8fd768a.tar.xz
poezio-01ebe78401de1a550935c489033800cbd8fd768a.zip
Remove extra logging
-rw-r--r--poezio/ui/render.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/poezio/ui/render.py b/poezio/ui/render.py
index b8368312..a431b4e7 100644
--- a/poezio/ui/render.py
+++ b/poezio/ui/render.py
@@ -1,4 +1,3 @@
-import logging
import curses
from datetime import datetime
@@ -133,7 +132,6 @@ def write_pre_message(msg: Message, win: 'Win', with_timestamps: bool, nick_size
"""
offset = 0
if with_timestamps:
- logging.debug(msg)
offset += PreMessageHelpers.write_time(win, msg.history, msg.time)
if not msg.nickname: # not a message, nothing to do afterwards
@@ -243,7 +241,6 @@ class PreMessageHelpers:
format = LONG_FORMAT
else:
format = SHORT_FORMAT
- logging.debug(time)
time_str = time.strftime(format)
color = get_theme().COLOR_TIME_STRING
with buffer.colored_text(color=color):