2883
2883
# Convert the SafeConfigParser object to a dict
2884
2884
server_settings = server_config.defaults()
2885
2885
# Use the appropriate methods on the non-string config options
2886
for option in ("debug", "use_dbus", "use_ipv6", "restore",
2886
for option in ("debug", "use_dbus", "use_ipv6", "foreground"):
2888
2887
server_settings[option] = server_config.getboolean("DEFAULT",
2890
2889
if server_settings["port"]: