forked from rDrama/rDrama
fsd
parent
01529879fb
commit
2a545f99bf
|
@ -57,7 +57,6 @@ def notifications(v):
|
||||||
cids = [x.comment_id for x in notifications]
|
cids = [x.comment_id for x in notifications]
|
||||||
comments = get_comments(cids, v=v, load_parent=True)
|
comments = get_comments(cids, v=v, load_parent=True)
|
||||||
|
|
||||||
t = time.time()
|
|
||||||
i = 0
|
i = 0
|
||||||
for x in notifications:
|
for x in notifications:
|
||||||
try:
|
try:
|
||||||
|
@ -69,7 +68,6 @@ def notifications(v):
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
g.db.commit()
|
g.db.commit()
|
||||||
print(time.time() - t)
|
|
||||||
|
|
||||||
if not posts:
|
if not posts:
|
||||||
listing = []
|
listing = []
|
||||||
|
|
Loading…
Reference in New Issue