Remove useless print()
This commit is contained in:
@@ -276,7 +276,6 @@ class DB:
|
|||||||
(thread_id, author_id, text, time, time, thread_id, author_id, time)
|
(thread_id, author_id, text, time, time, thread_id, author_id, time)
|
||||||
)
|
)
|
||||||
if c.rowcount > 0:
|
if c.rowcount > 0:
|
||||||
print('SHIT')
|
|
||||||
c.execute('''
|
c.execute('''
|
||||||
update threads
|
update threads
|
||||||
set update_time = ?
|
set update_time = ?
|
||||||
|
|||||||
2
main.py
2
main.py
@@ -582,8 +582,6 @@ def create_comment_tree(comments):
|
|||||||
for c in l:
|
for c in l:
|
||||||
sort_time(c.children)
|
sort_time(c.children)
|
||||||
sort_time(root)
|
sort_time(root)
|
||||||
if __debug__:
|
|
||||||
print('building tree with', len(comment_map), 'comments took', time.time() - start, 'seconds')
|
|
||||||
return root
|
return root
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user