Skip to content

Commit

Permalink
Fixed ruff formating
Browse files Browse the repository at this point in the history
  • Loading branch information
DrumSlayers committed Dec 1, 2024
1 parent fd5ce74 commit a9886c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/les_louisdelatech/utils/User.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,18 @@ def from_hello_asso(cls, order: Dict):
item["phone"] = custom_field["answer"]
elif "Taille du tee-shirt" == custom_field["name"]:
item["tee_shirt"] = custom_field["answer"]
#elif (
# elif (
# "Je m'engage à signer l'engagement de confidentialité"
# in custom_field["name"]
#):
# ):
# item["confidentiality"] = custom_field["answer"]
break

if item is None:
raise LouisDeLaTechError(
f"{order['payer']['firstName']} {order['payer']['lastName']} no valid membership found (or not processed)"
)
#elif item["confidentiality"] == "Non":
# elif item["confidentiality"] == "Non":
# raise LouisDeLaTechError(
# f"{order['payer']['firstName']} {order['payer']['lastName']} disagree to sign the confidentiality agreement"
# )
Expand Down

0 comments on commit a9886c3

Please sign in to comment.