mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
use local_settings.py for db_monitor instead of using dockerbuild env variable to control local settings
This commit is contained in:
parent
45a37a5a99
commit
1922e34954
1 changed files with 2 additions and 5 deletions
|
@ -6,11 +6,8 @@ import pymongo
|
|||
import redis
|
||||
import pyes
|
||||
|
||||
if os.getenv("DOCKERBUILD") == "True":
|
||||
import newsblur_web.docker_local_settings as settings
|
||||
else:
|
||||
import newsblur_web.flask_settings as settings
|
||||
|
||||
from newsblur_web import settings
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
PRIMARY_STATE = 1
|
||||
|
|
Loading…
Add table
Reference in a new issue