Commit ad38f017 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Allow all JSON types in config-files/env-vars

parent 628d8a3b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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: