From 1a8dd7f93b845c11f9292b438fc1b4cbfe16c4f5 Mon Sep 17 00:00:00 2001 From: SatyrDiamond Date: Sat, 9 Sep 2023 04:02:01 -0400 Subject: [PATCH] fix --- plugin_output/daw_flp.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugin_output/daw_flp.py b/plugin_output/daw_flp.py index e3edd7f5..e085e718 100644 --- a/plugin_output/daw_flp.py +++ b/plugin_output/daw_flp.py @@ -47,7 +47,8 @@ def parse(self, convproj_json, output_file): FLP_Data['FL_Channels'] = {} FL_Channels = FLP_Data['FL_Channels'] - CVPJ_Instruments = cvpj_l['instruments_data'] + instrumentsorder = cvpj_l['instruments_order'] if 'instruments_order' in cvpj_l else [] + CVPJ_Instruments = cvpj_l['instruments_data'] if 'instruments_data' in cvpj_l else {} CVPJ_Samples = {} if 'sampleindex' in cvpj_l: CVPJ_Samples = cvpj_l['sampleindex'] @@ -129,8 +130,6 @@ def parse(self, convproj_json, output_file): inst_id = {} inst_id_count = 0 - instrumentsorder = cvpj_l['instruments_order'] - for instentry in instrumentsorder: inst_id[instentry] = str(inst_id_count) inst_id_count += 1