Skip to content

Commit

Permalink
fixed a bug in _unpack_bytes()
Browse files Browse the repository at this point in the history
  • Loading branch information
axelkennedal committed Feb 17, 2018
1 parent 698f233 commit dc6f0df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mp3_tagger/id3.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ def _unpack_bytes(self):
if re.match(r'\w+', val):
pass
else:
val = int(re.search(r'\d+', val).group(0))
search_match = re.search(r'\d+', val)
if search_match:
val = int(search_match.group(0))
return val

# Versions for filter tags.
Expand Down

1 comment on commit dc6f0df

@kk-hiraskar
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please release this updates on https://pypi.org/project/mp3-tagger/

Please sign in to comment.