mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
flame: add generator into init of class
This commit is contained in:
parent
f36512c3a6
commit
6c9f9c1811
1 changed files with 3 additions and 1 deletions
|
|
@ -748,12 +748,14 @@ class MediaInfoFile:
|
|||
|
||||
self.log.info("Temp File: {}".format(self.tmp_file))
|
||||
|
||||
self._generate_media_info_file()
|
||||
|
||||
def _validate_media_script_path(self):
|
||||
if not os.path.isfile(self.media_script_path):
|
||||
raise IOError("Media Scirpt does not exist: `{}`".format(
|
||||
self.media_script_path))
|
||||
|
||||
def generate_media_info_file(self):
|
||||
def _generate_media_info_file(self):
|
||||
# Create cmd arguments for gettig xml file info file
|
||||
cmd_args = [
|
||||
self.media_script_path,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue