uniwix / casioplot

Python module that allows to use the casioplot module in your computer.
MIT License
9 stars 2 forks source link

create the _set_confgs function #10

Closed miguelTorrinhaPereira closed 3 months ago

miguelTorrinhaPereira commented 3 months ago

it receives a dictionary with a key value pare for every settings, just like the ones in the configs dictionary in configs.py. And the set every settings accordingly, in this way we just have to convert a toml file in a dictionary and give it to _set_configs. .config_to can use it, and settings that wherent set in the toml files can just be set to None in the dictionary and ignored