fix/remove dev print
This commit is contained in:
parent
414400ae28
commit
0f7568b4ab
1 changed files with 1 additions and 4 deletions
|
@ -16,20 +16,17 @@ def index():
|
||||||
|
|
||||||
for toot_ in toots_.items:
|
for toot_ in toots_.items:
|
||||||
toot = SimpleNamespace(**toot_.__dict__)
|
toot = SimpleNamespace(**toot_.__dict__)
|
||||||
print(toot.reblog_id)
|
|
||||||
if toot.reblog_id != None:
|
if toot.reblog_id != None:
|
||||||
if toot.reblog_myself:
|
if toot.reblog_myself:
|
||||||
toot = Toot.query.get(toot.reblog_id)
|
toot = Toot.query.get(toot.reblog_id)
|
||||||
toot = SimpleNamespace(**toot.__dict__)
|
toot = SimpleNamespace(**toot.__dict__)
|
||||||
toot.is_reblog = True
|
toot.is_reblog = True
|
||||||
else:
|
else:
|
||||||
print('---\n\n\n----')
|
|
||||||
toot = Reblog.query.get(toot.reblog_id)
|
toot = Reblog.query.get(toot.reblog_id)
|
||||||
toot = SimpleNamespace(**toot.__dict__)
|
toot = SimpleNamespace(**toot.__dict__)
|
||||||
toot.is_reblog = True
|
toot.is_reblog = True
|
||||||
|
|
||||||
print(toot)
|
|
||||||
|
|
||||||
if toot.media_list != "":
|
if toot.media_list != "":
|
||||||
toot.medias = []
|
toot.medias = []
|
||||||
#media_list "1111,2222,333,"
|
#media_list "1111,2222,333,"
|
||||||
|
|
Loading…
Reference in a new issue