load local config

This commit is contained in:
j 2019-10-10 17:02:03 +01:00
parent e1e5912423
commit 49508b6ff0
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ os.chdir(base)
name = os.path.basename(base)
config = join(base, 'config.jsonc')
if os.path.exists(config):
with open('/srv/pandora/northeast/config.jsonc') as fd:
with open(config) as fd:
name = ox.jsonc.load(fd)['site']['id']
for root, folders, files in os.walk(join(base, 'static')):