Skip to content

Commit

Permalink
added recipe data check for update timeline and pop task fixes #2256 (#…
Browse files Browse the repository at this point in the history
…2257)

Co-authored-by: Jared Lockhart <[email protected]>
  • Loading branch information
2 people authored and uhlissuh committed Feb 10, 2020
1 parent d7d43e4 commit 33c242f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/experimenter/experiments/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def set_is_paused_value_task(experiment_id, recipe_data):


def update_population_percent(experiment, recipe_data):
if "filter_object" in recipe_data:
if recipe_data and "filter_object" in recipe_data:
filter_objects = {f["type"]: f for f in recipe_data["filter_object"]}
if "bucketSample" in filter_objects:
bucket_sample = filter_objects["bucketSample"]
Expand Down

0 comments on commit 33c242f

Please sign in to comment.