Index Error with name_chars for empty list
jagusant opened this issue · comments
jagusant commented
I'm running into this Index error:
site-packages/pedalboard/_pedalboard.py", line 586, in normalize_python_parameter_name
name_chars[-1]
I figured I can add this condition line in the code to _pedalboard.py to fix this index error. Basically adding a check to make sure name_chars is not empty before attempting to access name_chars[-1].
czerpa-antdev commented
+1 on this
Peter Sobot commented
Fixed by #331.