From 24c6f12402a5d6a2d09ce1c39a4245518b6aaf87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cchristopheseux=E2=80=9D?= <“seuxchristophe@hotmail.fr”> Date: Mon, 3 Jul 2023 12:04:44 +0200 Subject: [PATCH] fix episode handler --- sequencer_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sequencer_utils.py b/sequencer_utils.py index 5694be2..8f348ad 100644 --- a/sequencer_utils.py +++ b/sequencer_utils.py @@ -430,7 +430,7 @@ def update_text_strips(scene): format_data.update({ 'project_name': project.name, - 'episode_name': episode.name, + 'episode_name': episode.name if episode else '', 'sequence_name': get_strip_sequence_name(shot_strip), 'strip_name': shot_strip.name, 'shot_name': 'sh{index:04d}'.format(**shot_strip.vsetb_strip_settings.format_data),