mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-26 05:04:26 +08:00
Update printer-linter/src/printerlinter/linters/profile.py
This commit is contained in:
parent
ec6c7f109c
commit
d6164fddae
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user