aboutsummaryrefslogtreecommitdiffstats
path: root/subv.py
diff options
context:
space:
mode:
Diffstat (limited to 'subv.py')
-rw-r--r--subv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/subv.py b/subv.py
index e0285cb..3e768a1 100644
--- a/subv.py
+++ b/subv.py
@@ -312,7 +312,7 @@ def format_part(part):
if isinstance(part, bits.WordBase):
return str(part)
elif not is_reference(part):
- first = "{:02x}".format(part[0])
+ first = "{:x}".format(part[0])
part = (first, *part[1:])
return "/".join([str(p) for p in part])