Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
Use get() instead of accessing by key ('ga_exp') (#40)
Browse files Browse the repository at this point in the history
* Use get() instead of accessing by key ('ga_exp')

* WIP
  • Loading branch information
adinhodovic authored Mar 8, 2020
1 parent beccf2d commit 8009ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_google_optimize/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_experiments_variants(request):
logger.warning(
"experiment id %s not found in experiments cookie %s",
experiment_id,
request.COOKIES["_gaexp"],
request.COOKIES.get("_gaexp"),
)
return None

Expand Down

0 comments on commit 8009ab6

Please sign in to comment.