Improve commenting

This commit is contained in:
Dave Page 2014-12-17 15:27:54 +00:00
parent 417ad2c6ee
commit 255d6c1437

View File

@ -24,10 +24,11 @@ import config
# Setup the app object # Setup the app object
app = Flask(__name__, static_url_path='') app = Flask(__name__, static_url_path='')
# ##########################################################################
# Setup logging and log the application startup # Setup logging and log the application startup
# ##########################################################################
# Add SQL level logging, and set the base logging level
logging.addLevelName(25, 'SQL') logging.addLevelName(25, 'SQL')
app.logger.setLevel(logging.DEBUG) app.logger.setLevel(logging.DEBUG)
@ -73,6 +74,10 @@ Today is <b>%s</b>
def ping(): def ping():
return "PING" return "PING"
##########################################################################
# Server starup
##########################################################################
# Start the web server. The port number should have already been set by the # Start the web server. The port number should have already been set by the
# runtime if we're running in desktop mode, otherwise we'll just use the # runtime if we're running in desktop mode, otherwise we'll just use the
# Flask default. # Flask default.