Commits

Lucas Duailibe  committed dbdbcb2

small fix

  • Participants
  • Parent commits 5b493cb

Comments (0)

Files changed (1)

File beetsplug/convert.py

 @ConvertPlugin.listen('import_task_files')
 def _cleanup(task, session):
     for path in task.old_paths:
-        if path in _convert_tmp and os.path.isfile(path):
-            util.remove(path)
+        if path in _convert_tmp:
+            if os.path.isfile(path):
+                util.remove(path)
             _convert_tmp.remove(path)