mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Fix type hints in dyndeckconf
This commit is contained in:
parent
234ca4d496
commit
e95c2fa6ce
1 changed files with 2 additions and 2 deletions
|
@ -185,12 +185,12 @@ class DeckConf(QDialog):
|
||||||
else:
|
else:
|
||||||
aqt.dialogs.open("Browser", self.mw, search=(search,))
|
aqt.dialogs.open("Browser", self.mw, search=(search,))
|
||||||
|
|
||||||
def _second_filter(self) -> Tuple[str]:
|
def _second_filter(self) -> Tuple[str, ...]:
|
||||||
if self.form.secondFilter.isChecked():
|
if self.form.secondFilter.isChecked():
|
||||||
return (self.form.search_2.text(),)
|
return (self.form.search_2.text(),)
|
||||||
return ()
|
return ()
|
||||||
|
|
||||||
def _learning_search_node(self) -> Tuple[SearchNode]:
|
def _learning_search_node(self) -> Tuple[SearchNode, ...]:
|
||||||
"""Return a search node that matches learning cards if the old scheduler is enabled.
|
"""Return a search node that matches learning cards if the old scheduler is enabled.
|
||||||
If it's a rebuild, exclude cards from this filtered deck as those will be reset.
|
If it's a rebuild, exclude cards from this filtered deck as those will be reset.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue