diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2020-11-06 09:32:27 +0000 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2020-11-06 09:32:27 +0000 |
commit | b8ac0b7963faf8c26bf116516f7f8f097cd5e30a (patch) | |
tree | 1d66f2fb800c3076007092a380a4db11d206c2fd | |
parent | b708047d28f9e462213621ae4f006659166ff141 (diff) |
config: rename config file to ogcp.json
Do not use the same name as ogserver config file.
-rw-r--r-- | ogcp/__init__.py | 2 | ||||
-rw-r--r-- | ogcp/cfg/ogcp.json (renamed from ogcp/cfg/ogserver.json) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/__init__.py b/ogcp/__init__.py index fb860b9..8c7c732 100644 --- a/ogcp/__init__.py +++ b/ogcp/__init__.py @@ -5,7 +5,7 @@ from flask import Flask from os import urandom app = Flask(__name__) -app.config.from_json('cfg/ogserver.json') +app.config.from_json('cfg/ogcp.json') app.secret_key = urandom(16) babel = Babel(app) diff --git a/ogcp/cfg/ogserver.json b/ogcp/cfg/ogcp.json index 9e715d4..9e715d4 100644 --- a/ogcp/cfg/ogserver.json +++ b/ogcp/cfg/ogcp.json |