mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix future warning
add logging from lib
This commit is contained in:
parent
fa3409d302
commit
3ac0387606
2 changed files with 4 additions and 2 deletions
|
|
@ -814,7 +814,7 @@ class OpenClipSolver(flib.MediaInfoFile):
|
|||
|
||||
# check if feed path already exists in track's feeds
|
||||
if (
|
||||
out_track_element
|
||||
out_track_element is not None
|
||||
and not self._feed_exists(out_track_element, new_path)
|
||||
):
|
||||
continue
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import os
|
|||
import flame
|
||||
from pprint import pformat
|
||||
import openpype.hosts.flame.api as opfapi
|
||||
from openpype.lib import StringTemplate
|
||||
from openpype.lib import StringTemplate, Logger
|
||||
|
||||
|
||||
class LoadClipBatch(opfapi.ClipLoader):
|
||||
|
|
@ -24,6 +24,8 @@ class LoadClipBatch(opfapi.ClipLoader):
|
|||
reel_name = "OP_LoadedReel"
|
||||
clip_name_template = "{asset}_{subset}<_{output}>"
|
||||
|
||||
log = Logger.get_logger(__file__)
|
||||
|
||||
def load(self, context, name, namespace, options):
|
||||
|
||||
# get flame objects
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue