mirror of
https://github.com/beetbox/beets.git
synced 2026-03-26 15:24:05 +01:00
Update beets/importer/tasks.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
cccc1fd513
commit
d5f64fdba8
1 changed files with 1 additions and 1 deletions
|
|
@ -1094,7 +1094,7 @@ class ImportTaskFactory:
|
|||
)
|
||||
|
||||
def check_extension(self, path: util.PathBytes):
|
||||
path = Path(path.decode("utf-8"))
|
||||
path = Path(os.fsdecode(path))
|
||||
# if there is an extension, ignore
|
||||
if path.suffix != "":
|
||||
return path
|
||||
|
|
|
|||
Loading…
Reference in a new issue