From 56325c79259c539a0f54304066fac8ce6e106e74 Mon Sep 17 00:00:00 2001 From: namasikanam Date: Fri, 5 Nov 2021 07:01:58 +0800 Subject: [PATCH] remove redundant debug print --- app.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/app.py b/app.py index 1027263..ea569f5 100644 --- a/app.py +++ b/app.py @@ -99,10 +99,7 @@ def choose_new_next(min_like_num=10): last_paragraph_id = story.tail next_one = Paragraph.query.filter_by(parent_id=last_paragraph_id, is_hidden=False)\ .order_by(Paragraph.like_num.desc()).first() - print(next_one) if next_one and next_one.like_num >= min_like_num: - print(next_one, next_one.like_num) - story.text += next_one.text story.total_like_num += next_one.like_num story.tail = next_one.id