From 62b6ac19b6df01c4d7461d8630e4150aacdb94e5 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 4 Nov 2020 11:06:32 +0100 Subject: [PATCH] fixed nonexisting variable log in otio burnin script --- pype/scripts/otio_burnin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pype/scripts/otio_burnin.py b/pype/scripts/otio_burnin.py index 7844bbac79..edb6fbb9dd 100644 --- a/pype/scripts/otio_burnin.py +++ b/pype/scripts/otio_burnin.py @@ -496,7 +496,7 @@ def burnins_from_data( # Replace with missing key value if frame_start_tc is not set if frame_start_tc is None and has_timecode: has_timecode = False - log.warning( + print( "`frame_start` and `frame_start_tc`" " are not set in entered data." ) @@ -505,7 +505,7 @@ def burnins_from_data( has_source_timecode = SOURCE_TIMECODE_KEY in value if source_timecode is None and has_source_timecode: has_source_timecode = False - log.warning("Source does not have set timecode value.") + print("Source does not have set timecode value.") value = value.replace(SOURCE_TIMECODE_KEY, MISSING_KEY_VALUE) key_pattern = re.compile(r"(\{.*?[^{0]*\})")