Pull out matching functions into their own file

This commit is contained in:
Marc Di Luzio 2024-08-10 09:44:22 +01:00
parent 331677ad09
commit 6fbb598886
5 changed files with 84 additions and 44 deletions

9
config.py Normal file
View 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)