blob: 0759f50348031fe93734ba1460dd1a30f56e3313 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
from configparser import ConfigParser
import os
from pathlib import Path
config_path = (
os.environ["JIMBRELLA_CONFIG"]
if "JIMBRELLA_CONFIG" in os.environ
else "/opt/jimbrella/config.ini"
)
config = ConfigParser()
config.read(config_path)
|