Skip to content

Commit

Permalink
Added a test case for sampler udata
Browse files Browse the repository at this point in the history
And a little marker for base64
  • Loading branch information
iluvcapra committed Nov 24, 2024
1 parent 6304666 commit f0353ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion wavinfo/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def default(self, o):
if isinstance(o, Enum):
return o._name_
elif isinstance(o, bytes):
return b64encode(o).decode('ascii')
return 'base64:' + b64encode(o).decode('ascii')
else:
return super().default(o)

Expand Down

0 comments on commit f0353ab

Please sign in to comment.