Return if no posts

main
Bob Mottram 2021-03-14 10:45:33 +00:00
parent 232e1e80b1
commit 8ec374a4bf
1 changed files with 1 additions and 0 deletions

View File

@ -363,6 +363,7 @@ def _showLocalBox(boxName: str,
if not index:
sayStr = 'You have no ' + boxName + ' posts yet.'
_sayCommand(sayStr, sayStr, screenreader, systemLanguage, espeak)
return
maxPostIndex = len(index)
index.sort(reverse=True)
ctr = 0