Empty timeline message

merge-requests/21/head
Bob Mottram 2021-03-12 20:32:15 +00:00
parent 203e428a74
commit 29b5c87433
1 changed files with 2 additions and 0 deletions

View File

@ -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):