ticketfrei/config.py

6 lines
168 B
Python
Raw Normal View History

2018-03-24 15:26:35 +00:00
import pytoml as toml
# read config in TOML format (https://github.com/toml-lang/toml#toml)
with open('config.toml') as configfile:
config = toml.load(configfile)