mirror of
https://github.com/devine-dl/devine.git
synced 2025-01-15 07:33:59 +00:00
fix(dl): delete old file after repackage (#114)
* fix(dl): delete old file after repackage * fix(dl): using original_path instead of self.path in repackage method
This commit is contained in:
parent
a95d32de9e
commit
09eda16882
@ -542,6 +542,7 @@ class Track:
|
|||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
original_path.unlink()
|
||||||
self.path = output_path
|
self.path = output_path
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user