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