debug config
This commit is contained in:
@@ -4,6 +4,7 @@ from flask_bcrypt import Bcrypt
|
||||
from flask_login import LoginManager
|
||||
import os
|
||||
import logging
|
||||
import config
|
||||
|
||||
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -26,4 +27,4 @@ if not os.path.exists('site.db'):
|
||||
|
||||
if __name__ == '__main__':
|
||||
logger.info("Starting application...")
|
||||
app.run(debug=True)
|
||||
app.run(debug=config.DEBUG)
|
||||
|
||||
Reference in New Issue
Block a user