IDEMSInternational / rapidpro-flow-toolkit

Toolkit for using spreadsheets to create and modify RapidPro flows
GNU Lesser General Public License v2.1
3 stars 1 forks source link

Error when parsing spreadsheet withEmpty sheet #57

Open fagiothree opened 1 year ago

fagiothree commented 1 year ago

if one of the sheet in the google spreadsheet is empty, there is an error when parsing it: table.headers = content[0] IndexError: list index out of range

Instead of having an error we should have a warning saying that there is an empty sheet if the sheet is not released in the content_index sheet (could be draft or not mentioned)

Is this the same for excel files?