aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-08 12:22:21 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-08 12:22:21 +0100
commit9d733d728c93bfa959a7691aa0c166ffefcc9ae4 (patch)
treecc0fa25fd620ee501663e30d7c5205c239ffd6f6
parentMerge branch 'master' of bitbucket.org:cedricbonhomme/pyaggr3g470r (diff)
downloadnewspipe-9d733d728c93bfa959a7691aa0c166ffefcc9ae4.tar.gz
newspipe-9d733d728c93bfa959a7691aa0c166ffefcc9ae4.tar.bz2
newspipe-9d733d728c93bfa959a7691aa0c166ffefcc9ae4.zip
fix.
-rw-r--r--bootstrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap.py b/bootstrap.py
index 671552b3..3b76d0ac 100644
--- a/bootstrap.py
+++ b/bootstrap.py
@@ -9,7 +9,7 @@ import logging
def set_logging(log_path, log_level=logging.INFO,
log_format='%(asctime)s %(levelname)s %(message)s'):
- logger = logging.getLogger('pyAggr3g470r')
+ logger = logging.getLogger('pyaggr3g470r')
formater = logging.Formatter(log_format)
handler = logging.FileHandler(log_path)
handler.setFormatter(formater)
@@ -20,7 +20,7 @@ from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
# Create Flask application
-application = Flask('pyAggr3g470r')
+application = Flask('pyaggr3g470r')
application.debug = conf.WEBSERVER_DEBUG
set_logging(conf.LOG_PATH, log_level=logging.DEBUG if conf.WEBSERVER_DEBUG
else logging.INFO)
bgstack15