Skip to content

Commit

Permalink
Add missing encoding argument to decode_bytestring call
Browse files Browse the repository at this point in the history
  • Loading branch information
thebigmunch committed Jan 26, 2019
1 parent 2fa2923 commit 6a59c22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ This project adheres to [Semantic Versioning](https://semver.org).

[Commits](https://github.com/thebigmunch/audio-metadata/compare/0.3.2...master)

### Fixed

* Missing ``encoding`` argument to ``decode_bytestring`` call.


## [0.3.2](https://github.com/thebigmunch/audio-metadata/releases/tag/0.3.2) (2019-01-26)

Expand Down
2 changes: 1 addition & 1 deletion src/audio_metadata/formats/id3v2_frames.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def load(cls, data, struct_pattern, size_len, per_byte):
):
encoding = determine_encoding(frame_data[0:1])
values = [
decode_bytestring(value)
decode_bytestring(value, encoding)
for value in split_encoded(frame_data[1:], encoding)
if value
]
Expand Down

0 comments on commit 6a59c22

Please sign in to comment.