mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
flame: fixing flame compatibility and python2
This commit is contained in:
parent
bfae95a847
commit
72ecb6192a
4 changed files with 6 additions and 11 deletions
|
|
@ -708,7 +708,7 @@ def maintained_temp_file_path(suffix=None):
|
|||
|
||||
except IOError as _error:
|
||||
raise IOError(
|
||||
"Not able to create temp json file: {}".format(_error)) from _error
|
||||
"Not able to create temp json file: {}".format(_error))
|
||||
|
||||
finally:
|
||||
# Remove the temporary json
|
||||
|
|
@ -860,7 +860,7 @@ class MediaInfoFile:
|
|||
openpype.run_subprocess(cmd_args)
|
||||
except TypeError as error:
|
||||
raise TypeError(
|
||||
"Error creating `{}` due: {}".format(fpath, error)) from error
|
||||
"Error creating `{}` due: {}".format(fpath, error))
|
||||
|
||||
def _make_single_clip_media_info(self, fpath):
|
||||
with open(fpath) as f:
|
||||
|
|
@ -923,4 +923,4 @@ class MediaInfoFile:
|
|||
)
|
||||
except IOError as error:
|
||||
raise IOError(
|
||||
"Not able to write data to file: {}".format(error)) from error
|
||||
"Not able to write data to file: {}".format(error))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue