Skip to content

Commit

Permalink
Fixing for Python 3+
Browse files Browse the repository at this point in the history
  • Loading branch information
aliabbasrizvi committed Jun 4, 2019
1 parent 25b116a commit 0250366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimizely/config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _handle_response(self, response):
return

self.set_last_modified(response.headers)
self.set_config(response.text)
self.set_config(str.encode(response.text))

def fetch_datafile(self):
""" Fetch datafile and set ProjectConfig. """
Expand Down

0 comments on commit 0250366

Please sign in to comment.