Mortal
This commit is contained in:
6
mortal/config.py
Normal file
6
mortal/config.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import toml
|
||||
import os
|
||||
|
||||
config_file = os.environ.get('MORTAL_CFG', 'config.toml')
|
||||
with open(config_file, encoding='utf-8') as f:
|
||||
config = toml.load(f)
|
||||
Reference in New Issue
Block a user