mirror of https://gitlab.com/bashrc2/epicyon
Empty timeline message
parent
203e428a74
commit
29b5c87433
|
@ -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