mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
don't shadow format function.
This commit is contained in:
parent
57ec36b7fe
commit
a809e5a91c
4 changed files with 5 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ from pathlib import Path
|
|||
from .formatter import FileFormatter
|
||||
|
||||
class InstCfgFormatter(FileFormatter):
|
||||
def format(self, file: Path):
|
||||
def formatFile(self, file: Path):
|
||||
""" Format .inst.cfg files according to the rules in settings """
|
||||
config = configparser.ConfigParser()
|
||||
config.read(file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue