mirror of
https://github.com/beetbox/beets.git
synced 2025-12-20 15:43:58 +01:00
Merge pull request #2448 from Lompik/fixrarimport
Decode bytes to str before call to path_test
This commit is contained in:
commit
8df0a60fe2
1 changed files with 1 additions and 1 deletions
|
|
@ -988,7 +988,7 @@ class ArchiveImportTask(SentinelImportTask):
|
|||
`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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue