Skip to content
Snippets Groups Projects
Commit f735104e authored by Campbell Barton's avatar Campbell Barton
Browse files

Missed last commit

parent 56b99462
Branches
Tags
No related merge requests found
...@@ -280,6 +280,7 @@ def write_member(fw, indent, b, theme, ls): ...@@ -280,6 +280,7 @@ def write_member(fw, indent, b, theme, ls):
value_repr = value.decode('ascii') value_repr = value.decode('ascii')
fw(f'{indent}.{attr} = "{value_repr}",\n') fw(f'{indent}.{attr} = "{value_repr}",\n')
else: else:
value_repr = "".join(f'{ub:02x}' for ub in value)
fw(f'{indent}.{attr} = {{{value_repr}}},\n') fw(f'{indent}.{attr} = {{{value_repr}}},\n')
else: else:
fw(f'{indent}.{attr} = {value},\n') fw(f'{indent}.{attr} = {value},\n')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment