Skip to content

Disable interpolation of config values

Ingo Klöcker requested to merge work/kloecker/no-config-interpolation into master

We don't want any interpolation of config values when writing the BlueprintSettings.ini and when reading the CraftSettings.ini.template to create the CraftSettings.ini. By default, ConfigParser uses BasicInterpolation. Therefore, we need to disable interpolation explicitly.

(Extended) interpolation will be used by craft when reading the config files.

This enables using "%" in config values without causing "ValueError: invalid interpolation syntax in '...' as position ..." when the CraftSettings.ini is written.

Merge request reports