flame: OpenClipSolver inheriting from MediaInfoFile class

This commit is contained in:
Jakub Jezek 2022-04-08 12:23:16 +02:00
parent 4797f58498
commit bfae95a847
No known key found for this signature in database
GPG key ID: D8548FBF690B100A
2 changed files with 36 additions and 130 deletions

View file

@ -766,8 +766,8 @@ class MediaInfoFile:
def __init__(self, path, **kwargs):
# replace log if any
if kwargs.get("log"):
self.log = kwargs["log"]
if kwargs.get("logger"):
self.log = kwargs["logger"]
# test if `dl_get_media_info` paht exists
self._validate_media_script_path()