modify type hint in aqt/qt/profiles (#1972)

This commit is contained in:
Sam Penny 2022-07-19 08:29:46 +01:00 committed by GitHub
parent 704ff7ab99
commit e0368a3858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()