mirror of https://gitlab.com/bashrc2/epicyon
Merge branch 'main' of ssh://code.freedombone.net:2222/bashrc/epicyon into main
commit
dbda3ecf7e
|
|
@ -353,6 +353,8 @@ def _showLocalBox(boxName: str, startPostIndex=0, noOfPosts=10) -> None:
|
||||||
continue
|
continue
|
||||||
index.append(f)
|
index.append(f)
|
||||||
break
|
break
|
||||||
|
if not index:
|
||||||
|
print('You have no ' + boxName + ' posts yet.')
|
||||||
maxPostIndex = len(index)
|
maxPostIndex = len(index)
|
||||||
index.sort(reverse=True)
|
index.sort(reverse=True)
|
||||||
for pos in range(startPostIndex, startPostIndex + noOfPosts):
|
for pos in range(startPostIndex, startPostIndex + noOfPosts):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue