mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
modify type hint in aqt/qt/profiles (#1972)
This commit is contained in:
parent
704ff7ab99
commit
e0368a3858
1 changed files with 2 additions and 2 deletions
|
@ -149,8 +149,8 @@ class ProfileManager:
|
||||||
# Profile load/save
|
# Profile load/save
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
def profiles(self) -> list:
|
def profiles(self) -> list[str]:
|
||||||
def names() -> list:
|
def names() -> list[str]:
|
||||||
return self.db.list("select name from profiles where name != '_global'")
|
return self.db.list("select name from profiles where name != '_global'")
|
||||||
|
|
||||||
n = names()
|
n = names()
|
||||||
|
|
Loading…
Reference in a new issue