Order of imports means the config doesn't get set up properly

This commit is contained in:
Martyn Inglis
2016-03-17 16:48:12 +00:00
parent f6ee5dc8c6
commit d044576e08

View File

@@ -1,4 +1,3 @@
from app import create_app
from credstash import getAllSecrets
import os
@@ -17,6 +16,8 @@ from config import configs
os.environ['NOTIFY_ADMIN_ENVIRONMENT'] = configs[environment]
from app import create_app
application = create_app()
if __name__ == "__main__":