Skip to content

Commit

Permalink
Fixing rollout evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
aliabbasrizvi committed Aug 31, 2017
1 parent 6fdf655 commit a57cbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimizely/decision_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def get_variation_for_rollout(self, rollout, user_id, attributes=None):
break

# Evaluate last rule i.e. "Everyone Else" rule
everyone_else_experiment = rollout.experiments[-1]
everyone_else_experiment = self.config.get_experiment_from_key(rollout.experiments[-1].get('key'))
if audience_helper.is_user_in_experiment(self.config,
self.config.get_experiment_from_key(rollout.experiments[-1].get('key')),
attributes):
Expand Down

0 comments on commit a57cbaa

Please sign in to comment.