Abandon tag search if invalid token

This commit is contained in:
Arun Prakash Jana 2018-10-01 01:51:31 +05:30
parent 5535e921af
commit 827e93e4b7
No known key found for this signature in database
GPG Key ID: A75979F35C080412

View File

@ -1269,6 +1269,9 @@ class BukuDb:
"""
logdbg(tags)
if tags is None or tags == DELIM or tags == '':
return None
tags, search_operator, excluded_tags = prep_tag_search(tags)
if search_operator is None:
logerr("Cannot use both '+' and ',' in same search")