mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Consistent for naming convention
CURA-10901
This commit is contained in:
parent
fe0120ef64
commit
8e9ebb6832
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue