From c35ded852f44dc18c227893c5a56944bc80ca497 Mon Sep 17 00:00:00 2001 From: David Hoppenbrouwers Date: Mon, 10 Oct 2022 14:21:49 +0200 Subject: [PATCH] Remove useless print() --- db/sqlite.py | 1 - main.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/db/sqlite.py b/db/sqlite.py index bf0fc4d..22b252e 100644 --- a/db/sqlite.py +++ b/db/sqlite.py @@ -276,7 +276,6 @@ class DB: (thread_id, author_id, text, time, time, thread_id, author_id, time) ) if c.rowcount > 0: - print('SHIT') c.execute(''' update threads set update_time = ? diff --git a/main.py b/main.py index 58020cd..6cef747 100644 --- a/main.py +++ b/main.py @@ -582,8 +582,6 @@ def create_comment_tree(comments): for c in l: sort_time(c.children) sort_time(root) - if __debug__: - print('building tree with', len(comment_map), 'comments took', time.time() - start, 'seconds') return root