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

main
Bob Mottram 2021-03-16 14:06:18 +00:00
commit 3e32f8c3c8
1 changed files with 5 additions and 2 deletions

View File

@ -1023,7 +1023,10 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
_showLocalBox(notifyJson, 'inbox',
screenreader, systemLanguage, espeak,
currInboxIndex, 10)
elif keyPress.startswith('read '):
elif keyPress.startswith('read ') or keyPress == 'read':
if keyPress == 'read':
postIndexStr = '1'
else:
postIndexStr = keyPress.split('read ')[1]
if postIndexStr.isdigit():
postIndex = int(postIndexStr)