Check boxname

main
Bob Mottram 2021-08-01 17:17:36 +01:00
parent 2602aa5cd8
commit 6863d3bf62
1 changed files with 1 additions and 0 deletions

View File

@ -3259,6 +3259,7 @@ def _createBoxIndexed(recentPostsCache: {},
boxname != 'tlfeatures' and \
boxname != 'outbox' and boxname != 'tlbookmarks' and \
boxname != 'bookmarks':
print('ERROR: invalid boxname ' + boxname)
return None
# bookmarks and events timelines are like the inbox