as_toml_string

bapsf_motion.utils.toml.as_toml_string(config)

Iterate through a configuration dictionary and convert all keys to strings. This is required because dumps can not handle non-string keys.