Fix parens typo and JSON response
This commit is contained in:
parent
d7e58c519a
commit
94cad0c322
@ -421,7 +421,7 @@ class AnkiBridge:
|
||||
browser = aqt.dialogs.open("Browser", self.window())
|
||||
browser.activateWindow()
|
||||
if query:
|
||||
query = unicode('"{}"'.format(query))
|
||||
query = unicode('"{}"').format(query)
|
||||
browser.form.searchEdit.lineEdit().setText(query)
|
||||
browser.onSearch()
|
||||
return browser.model.cards
|
||||
|
Loading…
Reference in New Issue
Block a user