Minor fix from new patch recipe in PR #5441 (src no longer required)

This commit is contained in:
Dion Moult
2025-01-12 17:45:43 +11:00
parent 59c1d7fa54
commit 79fe1bfcfc
2 changed files with 2 additions and 3 deletions
@@ -17,8 +17,7 @@ class Patcher:
and assigns fraction values accordingly.
"""
def __init__(self, src: str, file: ifcopenshell.file, logger: Logger, *args):
self.src = src
def __init__(self, file: ifcopenshell.file, logger: Logger):
self.file = file
self.logger = logger
@@ -22,7 +22,7 @@ from logging import Logger
class Patcher:
def __init__(self, file: ifcopenshell.file, logger: Logger, only_duplicates=False):
def __init__(self, file: ifcopenshell.file, logger: Logger, only_duplicates: bool = False):
"""Regenerate GlobalIds in an IFC model
All root elements in an IFC model must be identified by a unique Global