mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Compatibility for older builds
This commit is contained in:
@@ -1047,7 +1047,10 @@ class file:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def header(self):
|
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
|
@property
|
||||||
def storage(self) -> Optional[rocksdb_file_storage]:
|
def storage(self) -> Optional[rocksdb_file_storage]:
|
||||||
|
|||||||
Reference in New Issue
Block a user