Skip to content

Commit

Permalink
Setting as unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
aliabbasrizvi committed Jul 21, 2020
1 parent cc57cd4 commit 6357c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimizely/project_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, datafile, logger, error_handler):
"""

config = json.loads(datafile)
self._datafile = datafile.encode('utf-8')
self._datafile = u'{}'.format(datafile)
self.logger = logger
self.error_handler = error_handler
self.version = config.get('version')
Expand Down

0 comments on commit 6357c04

Please sign in to comment.