Changeset - 57121b272914
[Not reviewed]
default
0 1 0
Dennis Fink - 10 years ago 2014-12-11 00:39:15
dennis.fink@c3l.lu
Fix manage.py to use test folder
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
manage.py
Show inline comments
 
import pprint
 
import subprocess
 
import os
 
import os.path
 

	
 
from flask import current_app
 
from flask.ext.script import Manager
 
from flask.ext.script.commands import Clean, ShowUrls
 

	
 
os.environ['ENNSTATUS_SETTINGS'] = '/home/dennis/Projects/Coding/Python/ennstatus/config.py'
 
os.environ['ENNSTATUS_SETTINGS'] = '../test/config.py'
 

	
 
from ennstatus import app
 

	
 

	
 
manager = Manager(app)
 

	
 

	
 
@manager.command
 
def dumpconfig():
 
    """Show config."""
 

	
 
    pprint.pprint(current_app.config)
0 comments (0 inline, 0 general)