Skip to content

Commit

Permalink
[staged-updates] should fix write bug in forest cellery task when run…
Browse files Browse the repository at this point in the history
…ning sycammore (not sure why this has never been triggered).
  • Loading branch information
biblicabeebli committed Aug 5, 2024
1 parent 9ec0808 commit e25bbbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/celery_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def get_interventions_data(forest_task: ForestTask):
def get_study_config_data(forest_task: ForestTask):
""" Generates a study config file for the participant's survey and returns the path to it. """
ensure_folders_exist(forest_task)
with open(forest_task.study_config_path, "w") as f:
with open(forest_task.study_config_path, "wb") as f:
f.write(format_study(forest_task.participant.study))


Expand Down

0 comments on commit e25bbbf

Please sign in to comment.