Skip to content

Commit

Permalink
fixed string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
cmurtaugh committed Nov 27, 2019
1 parent 4fe7b63 commit 8b2039e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dj_secure_settings/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def load_secure_settings(project_name=None, environment=None):
# sanity check:
if len(config) == 0:
raise Exception('No configuration values could be loaded from AWS SSM Parameter Store or a local file!')

import pudb; pudb.set_trace()
return config


Expand Down Expand Up @@ -124,9 +124,9 @@ def _set_nested(dic, keys, value):
dic = dic.setdefault(key, {})

# if the value is 'True' or 'False', set a boolean True or False instead
if value is 'True':
if value == 'True':
value = True
elif value is 'False':
elif value == 'False':
value = False

dic[keys[-1]] = value
Expand Down

0 comments on commit 8b2039e

Please sign in to comment.