Skip to content

Commit

Permalink
Merge pull request #1347 from BLSQ/IA-2753-Pictures-of-health-facilit…
Browse files Browse the repository at this point in the history
…ies-should-look-like-real-ones

IA-2753:Pictures of health facilities should look like real ones
  • Loading branch information
butofleury authored Jun 5, 2024
2 parents 0725802 + e3f8a79 commit 9e52766
Show file tree
Hide file tree
Showing 7 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 modified setuper/data/CS_communautaire.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified setuper/data/burkina_cs.jpg
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 9e52766

Please sign in to comment.