fix missing

This commit is contained in:
Paul Kermann
2022-05-23 09:40:25 +03:00
parent a3c63fbdf8
commit be82c1639c
+1 -1
View File
@@ -113,7 +113,7 @@ class FileLayer(interfaces.layers.DataLayerInterface):
def maximum_address(self) -> int:
"""Returns the largest available address in the space."""
# Zero based, so we return the size of the file minus 1
if self._maximum_address
if self._maximum_address:
return self._maximum_address
with self._lock:
orig = self._file.tell()