Try to resolve failing checks

This commit is contained in:
gaotue 2026-03-23 16:30:10 +01:00
parent b7659fba39
commit bae4bd159b

View file

@ -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