mirror of https://github.com/devine-dl/devine.git
fix(Video): Delete original file after using change_color_range()
This commit is contained in:
parent
1bff87bd70
commit
9fce56cc66
|
@ -201,6 +201,7 @@ class Video(Track):
|
||||||
], check=True)
|
], check=True)
|
||||||
|
|
||||||
self.path = output_path
|
self.path = output_path
|
||||||
|
original_path.unlink()
|
||||||
|
|
||||||
def ccextractor(
|
def ccextractor(
|
||||||
self, track_id: Any, out_path: Union[Path, str], language: Language, original: bool = False
|
self, track_id: Any, out_path: Union[Path, str], language: Language, original: bool = False
|
||||||
|
|
Loading…
Reference in New Issue