Skip to content

Commit

Permalink
Merge pull request #2448 from Lompik/fixrarimport
Browse files Browse the repository at this point in the history
Decode bytes to str before call to path_test
  • Loading branch information
sampsyo committed Feb 22, 2017
2 parents 74c0e0d + d6905fa commit 8df0a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beets/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ def extract(self):
`toppath` to that directory.
"""
for path_test, handler_class in self.handlers():
if path_test(self.toppath):
if path_test(util.py3_path(self.toppath)):
break

try:
Expand Down

0 comments on commit 8df0a60

Please sign in to comment.