Compatibility for older builds

This commit is contained in:
Thomas Krijnen
2025-10-25 21:55:06 +02:00
parent 80066ba9e7
commit 806aa14bd0
+4 -1
View File
@@ -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]: