Skip to content

Commit

Permalink
Updated list copy to use slice for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
The-inside-man committed Jul 6, 2021
1 parent d3b2a46 commit dda6e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimizely/optimizely_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def __init__(self, project_config):
The typed_audiences has higher presidence.
'''

typed_audiences = project_config.typed_audiences.copy()
typed_audiences = project_config.typed_audiences[:]
optly_typed_audiences = []
for typed_audience in typed_audiences:
optly_audience = OptimizelyAudience(
Expand Down

0 comments on commit dda6e76

Please sign in to comment.