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

Only type cast config values if there is a reference object

parent cd3ff904
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -40,7 +40,8 @@ def import_from(context, items):
			else:
				context[name] += value
		else:
			_type = type(cur) if cur else str
			if cur:
				_type = type(cur)
				value = _type(value)
			if __debug__:
				LOGGER.debug("setting %s to %s", name, value)