fix future warning

add logging from lib
This commit is contained in:
Jakub Jezek 2022-09-22 12:45:46 +02:00
parent fa3409d302
commit 3ac0387606
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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