Update printer-linter/src/printerlinter/linters/profile.py

This commit is contained in:
HellAholic 2024-04-26 11:36:12 +02:00 committed by GitHub
parent ec6c7f109c
commit d6164fddae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ class Profile(Linter):
offset = found.span(0)[0]
)
def _getprofileName(self) -> Tuple[str, bool]:
def _getprofileName(self) -> tuple[str, bool]:
config = ConfigParser()
config.read([self._file])
name_of_profile = config.get("general", "name")