Loading kodo_sso/util/load_settings.py +3 −3 Original line number Diff line number Diff line Loading @@ -25,9 +25,9 @@ def import_from(context, items): if add: value = value[1:] try: if value[0] in '[{"': value = json.loads(value) except (IndexError, ValueError) as exc: if value[0] in '[{"': raise ValueError("""JSON decode error while decoding {}={!r}: {}""" .format(name, value, exc)) if cur and add: Loading Loading
kodo_sso/util/load_settings.py +3 −3 Original line number Diff line number Diff line Loading @@ -25,9 +25,9 @@ def import_from(context, items): if add: value = value[1:] try: if value[0] in '[{"': value = json.loads(value) except (IndexError, ValueError) as exc: if value[0] in '[{"': raise ValueError("""JSON decode error while decoding {}={!r}: {}""" .format(name, value, exc)) if cur and add: Loading