Volshell: use built in formatting rather than hex() function

This commit is contained in:
eve
2025-04-03 17:01:21 +01:00
parent 61c67b63d4
commit 69e3c7d9ae
+2 -2
View File
@@ -636,9 +636,9 @@ class Volshell(interfaces.plugins.PluginInterface):
if self.context.layers[self.current_layer].is_valid(
value.vol.offset
):
return f"offset: {hex(value.vol.offset)}"
return f"offset: 0x{value.vol.offset:x}"
else:
return f"offset: {hex(value.vol.offset)} (unreadable)"
return f"offset: 0x{value.vol.offset:x} (unreadable)"
else:
# non volobject
if value is None: