mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
fix fid queries
This commit is contained in:
parent
621d11a6da
commit
2967819882
1 changed files with 1 additions and 1 deletions
|
@ -2220,7 +2220,7 @@ where id = :id""", pending)
|
|||
elif token['value'].startswith("is:"):
|
||||
token['value'] = token['value'][3:].lower()
|
||||
type = SEARCH_TYPE
|
||||
elif token['value'].startswith("fid:") and len(token) > 4:
|
||||
elif token['value'].startswith("fid:") and len(token['value']) > 4:
|
||||
dec = token['value'][4:]
|
||||
try:
|
||||
int(dec)
|
||||
|
|
Loading…
Reference in a new issue