Skip to content

Commit

Permalink
Replace fake health facility image with real ones
Browse files Browse the repository at this point in the history
  • Loading branch information
butofleury committed May 31, 2024
1 parent abca918 commit 859be58
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 2 deletions.
Binary file added setuper/data/CSPS.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed setuper/data/fosa1.jpeg
Binary file not shown.
Binary file removed setuper/data/fosa2.jpeg
Binary file not shown.
Binary file removed setuper/data/fosa3.jpeg
Binary file not shown.
4 changes: 2 additions & 2 deletions setuper/data_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ def setup_instances(account_name, iaso_client):
}

# see hat/sync/views.py
image_number = (count % 3) + 1
with open(f"./data/fosa{image_number}.jpeg", "rb") as fp_image:
image = random.choice(["CS_communautaire.png", "burkina_cs.jpg", "CSPS.jpeg"])
with open(f"./data/{image}", "rb") as fp_image:
iaso_client.post(
"/sync/form_upload/",
files={
Expand Down

0 comments on commit 859be58

Please sign in to comment.