mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Temporarily revert to old build behaviour since new builds are failing.
This commit is contained in:
@@ -1036,7 +1036,10 @@ class file:
|
||||
|
||||
@property
|
||||
def header(self):
|
||||
h = self.wrapped_data.header()
|
||||
try: # Temporary workaround until new builds are ready. See #7131.
|
||||
h = self.wrapped_data.header()
|
||||
except:
|
||||
return self.wrapped_data.header
|
||||
object.__setattr__(h, "file_ref", lambda inst: entity_instance.wrap_value(inst, file=self))
|
||||
return h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user