Fix up my mistaken advice.

This commit is contained in:
Mike Auty
2018-06-16 09:56:10 +01:00
parent a0edd1e38e
commit ddeacd3524
+2 -3
View File
@@ -80,10 +80,9 @@ class RegistryHive(interfaces.layers.TranslationLayerInterface):
try:
if self._base_block.Length > 0:
return self._base_block.RootCell
else:
return 0x20
except InvalidAddressException:
return 0x20
pass
return 0x20
def get_cell(self, cell_offset: int) -> 'objects.Struct':
"""Returns the appropriate Cell value for a cell offset"""