fsd
This commit is contained in:
parent
5ba7022736
commit
c79dc7dc28
1 changed files with 7 additions and 0 deletions
|
@ -128,6 +128,13 @@ def notifications(v):
|
||||||
print("4: " + str(time.time()-t))
|
print("4: " + str(time.time()-t))
|
||||||
t = time.time()
|
t = time.time()
|
||||||
|
|
||||||
|
for c in all:
|
||||||
|
c.replies2 = []
|
||||||
|
parent = c.parent_comment
|
||||||
|
if parent:
|
||||||
|
if not parent.replies2: parent.replies2 = [c]
|
||||||
|
else: parent.replies2.append(c)
|
||||||
|
|
||||||
print("5: " + str(time.time()-t))
|
print("5: " + str(time.time()-t))
|
||||||
t = time.time()
|
t = time.time()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue