Skip to content

Commit

Permalink
fix linters and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
usamabinnadeem-10 committed Nov 7, 2024
1 parent dc8e705 commit bb296a0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions webapp/shop/cred/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,8 @@ def cred_sign_up(**_):
form_fields[key] = value
if "utm_content" in form_fields:
form_fields["utmcontent"] = form_fields.pop("utm_content")

if 'country' in form_fields:
form_fields['Country'] = form_fields.pop('country')

if "country" in form_fields:
form_fields["Country"] = form_fields.pop("country")
# Check honeypot values are not set
honeypots = {}
honeypots["name"] = flask.request.form.get("name")
Expand Down

0 comments on commit bb296a0

Please sign in to comment.