mirror of https://gitlab.com/bashrc2/epicyon
Descending order
parent
d2e6405015
commit
7c168a0928
|
@ -294,7 +294,7 @@ def _showLocalBox(boxName: str, startPostIndex=0, noOfPosts=10) -> None:
|
||||||
index.append(f)
|
index.append(f)
|
||||||
break
|
break
|
||||||
maxPostIndex = len(index)
|
maxPostIndex = len(index)
|
||||||
index.sort()
|
index.sort(reverse=True)
|
||||||
for pos in range(startPostIndex, startPostIndex + noOfPosts):
|
for pos in range(startPostIndex, startPostIndex + noOfPosts):
|
||||||
if pos >= maxPostIndex:
|
if pos >= maxPostIndex:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue