mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -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
|
||||
######################################################################
|
||||
|
||||
def profiles(self) -> list:
|
||||
def names() -> list:
|
||||
def profiles(self) -> list[str]:
|
||||
def names() -> list[str]:
|
||||
return self.db.list("select name from profiles where name != '_global'")
|
||||
|
||||
n = names()
|
||||
|
|
Loading…
Reference in a new issue