mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-24 09:40:21 -06:00
Improve commenting
This commit is contained in:
parent
417ad2c6ee
commit
255d6c1437
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user