mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 12:45:19 +00:00
use NestedDeserializableDataclass for config
This commit is contained in:
parent
96664684f8
commit
3eb358d618
13 changed files with 188 additions and 130 deletions
4
misc/common.py
Normal file
4
misc/common.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import os
|
||||
from pathlib import Path
|
||||
|
||||
CONFIG_FILE = (Path(os.path.dirname(os.path.realpath(__file__))) / ".." / "config.json").resolve()
|
||||
Loading…
Add table
Add a link
Reference in a new issue