Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SatyrDiamond committed Sep 9, 2023
1 parent 05223b9 commit 1a8dd7f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions plugin_output/daw_flp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1a8dd7f

Please sign in to comment.