mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 03:04:23 +08:00
Consistent for naming convention
CURA-10901
This commit is contained in:
parent
fe0120ef64
commit
8e9ebb6832
@ -57,10 +57,10 @@ class Formulas(Linter):
|
||||
self._definition[definition_name] = json.loads(definition_file.read_text())
|
||||
|
||||
if definition_file.suffix == ".cfg":
|
||||
self._definition[definition_name] = self.parse_cfg(definition_file)
|
||||
self._definition[definition_name] = self._parseCfg(definition_file)
|
||||
|
||||
|
||||
def parse_cfg(self, file_path:Path) -> dict:
|
||||
def _parseCfg(self, file_path:Path) -> dict:
|
||||
config = ConfigParser()
|
||||
config.read([file_path])
|
||||
file_data ={}
|
||||
|
Loading…
x
Reference in New Issue
Block a user