From 0f7568b4ab05214f1f54c821e9520dd8e8c8d01b Mon Sep 17 00:00:00 2001 From: SouthFox Date: Mon, 19 Sep 2022 22:54:12 +0800 Subject: [PATCH] fix/remove dev print --- BDSM/views.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/BDSM/views.py b/BDSM/views.py index ce9b145..6fbdb2d 100644 --- a/BDSM/views.py +++ b/BDSM/views.py @@ -16,20 +16,17 @@ def index(): for toot_ in toots_.items: toot = SimpleNamespace(**toot_.__dict__) - print(toot.reblog_id) + if toot.reblog_id != None: if toot.reblog_myself: toot = Toot.query.get(toot.reblog_id) toot = SimpleNamespace(**toot.__dict__) toot.is_reblog = True else: - print('---\n\n\n----') toot = Reblog.query.get(toot.reblog_id) toot = SimpleNamespace(**toot.__dict__) toot.is_reblog = True - print(toot) - if toot.media_list != "": toot.medias = [] #media_list "1111,2222,333,"