mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
Fix hardcoded variables, tweak schema/dockerfile
Change config.local.py to config_local.py Fix 2AM Willard Moments™ Made a few errors last night that should be corrected.
This commit is contained in:
parent
262b5b10eb
commit
74a0990997
18 changed files with 38 additions and 18814 deletions
|
@ -4,8 +4,8 @@ import subprocess
|
|||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
if os.path.exists(os.path.join(app.config.get('ROOT_DIR', os.getcwd()), "config.local.py")):
|
||||
config = os.path.join(app.config.get('ROOT_DIR', os.getcwd()), "config.local.py")
|
||||
if os.path.exists(os.path.join(app.config.get('ROOT_DIR', os.getcwd()), "config_local.py")):
|
||||
config = os.path.join(app.config.get('ROOT_DIR', os.getcwd()), "config_local.py")
|
||||
else:
|
||||
config = os.path.join(app.config.get('ROOT_DIR', os.getcwd()), "config.py")
|
||||
app.config.from_pyfile(config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue