Fixed config.ini conversion by disabling interpolation with ConfigParser that failed with addic7ed cookie.

pull/2270/head v1.3.2-beta.2
morpheus65535 1 year ago
parent 2a8a4030b9
commit 85c65ecb5a

@ -331,7 +331,7 @@ validators = [
def convert_ini_to_yaml(config_file): def convert_ini_to_yaml(config_file):
import configparser import configparser
import yaml import yaml
config_object = configparser.ConfigParser() config_object = configparser.RawConfigParser()
file = open(config_file, "r") file = open(config_file, "r")
config_object.read_file(file) config_object.read_file(file)
output_dict = dict() output_dict = dict()

Loading…
Cancel
Save