mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Compatibility for older builds
This commit is contained in:
@@ -1047,7 +1047,10 @@ class file:
|
||||
|
||||
@property
|
||||
def header(self):
|
||||
return file_header(self, self.wrapped_data.header())
|
||||
try:
|
||||
return file_header(self, self.wrapped_data.header())
|
||||
except:
|
||||
return self.wrapped_data.header
|
||||
|
||||
@property
|
||||
def storage(self) -> Optional[rocksdb_file_storage]:
|
||||
|
||||
Reference in New Issue
Block a user