Merge branch 'main' of ssh://code.freedombone.net:2222/bashrc/epicyon into main

main
Bob Mottram 2021-03-16 12:14:37 +00:00
commit 3d07a1e1e4
1 changed files with 7 additions and 6 deletions

View File

@ -415,12 +415,6 @@ def _showLocalBox(notifyJson: {}, boxName: str,
_clearScreen()
_showDesktopBanner()
if not index:
sayStr = 'You have no ' + boxName + ' posts yet.'
_sayCommand(sayStr, sayStr, screenreader, systemLanguage, espeak)
print('')
return False
notificationIcons = ''
if notifyJson:
if notifyJson.get('followRequests'):
@ -443,6 +437,13 @@ def _showLocalBox(notifyJson: {}, boxName: str,
titleStr += notificationIcons
print(indent + titleStr + '\n')
if not index:
print('')
sayStr = 'You have no ' + boxName + ' posts yet.'
_sayCommand(sayStr, sayStr, screenreader, systemLanguage, espeak)
print('')
return False
maxPostIndex = len(index)
index.sort(reverse=True)
ctr = 0