Skip to content

Commit

Permalink
fix(backend): pyxform usage only allowing xls file extension (#1758)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock authored Aug 20, 2024
1 parent 90796a6 commit 5b58a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/central/central_crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ async def read_and_test_xform(
try:
log.debug("Converting xlsform -> xform")
json_data = parse_file_to_json(
path="/dummy/path/with/file/ext.xls",
path=f"/dummy/path/with/file{file_ext}",
file_object=input_data,
)
generated_xform = create_survey_element_from_dict(json_data)
Expand Down

0 comments on commit 5b58a8e

Please sign in to comment.