Skip to content

Commit

Permalink
migrate some stuff to dedicated files for easier management
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Dec 26, 2023
1 parent 31b8555 commit 9924961
Show file tree
Hide file tree
Showing 7 changed files with 346 additions and 324 deletions.
10 changes: 10 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
try:
# python 3.11
from tomllib import loads as toml_load
except ImportError:
from rtoml import load as toml_load

from os import environ

with open(environ["SETTINGS"]) as f:
CONFIG = toml_load(f.read())
Loading

0 comments on commit 9924961

Please sign in to comment.