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

This reverts commit d6164fddaec6fa83e6cd39220c927d855c7ec2bc.
This commit is contained in:
HellAholic 2024-04-26 11:39:39 +02:00
parent d6164fddae
commit 4495f64753

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")