mirror of
https://github.com/beetbox/beets.git
synced 2026-03-26 15:24:05 +01:00
Try to resolve failing checks
This commit is contained in:
parent
b7659fba39
commit
bae4bd159b
1 changed files with 1 additions and 1 deletions
|
|
@ -1185,7 +1185,7 @@ class ImportTaskFactory:
|
|||
# assume, for example, the only diff between 'asdf.mp3' and 'asdf' is format
|
||||
new_path = path.with_suffix("." + detected_format)
|
||||
if not new_path.exists():
|
||||
util.move(path, new_path)
|
||||
util.move(bytes(path), bytes(new_path))
|
||||
else:
|
||||
log.info("Import file with matching format to original target")
|
||||
return new_path
|
||||
|
|
|
|||
Loading…
Reference in a new issue