Pull out matching functions into their own file
This commit is contained in:
parent
331677ad09
commit
6fbb598886
5 changed files with 84 additions and 44 deletions
9
config.py
Normal file
9
config.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
"""Very simple config loading library"""
|
||||
import json
|
||||
|
||||
CONFIG = "config.json"
|
||||
|
||||
|
||||
def load() -> dict:
|
||||
with open(CONFIG) as f:
|
||||
return json.load(f)
|
Loading…
Add table
Add a link
Reference in a new issue