Skip to content

Commit a395d32

Browse files
committed
Fix logging formatting.
1 parent 6736cc7 commit a395d32

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

dash/dash.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,8 +1034,7 @@ def enable_dev_tools(self,
10341034
dev_tools_hot_reload=None,
10351035
dev_tools_hot_reload_interval=None,
10361036
dev_tools_hot_reload_watch_interval=None,
1037-
dev_tools_silence_routes_logging=None,
1038-
):
1037+
dev_tools_silence_routes_logging=None):
10391038
"""
10401039
Activate the dev tools, called by `run_server`. If your application is
10411040
served by wsgi and you want to activate the dev tools, you can call
@@ -1209,9 +1208,9 @@ def run_server(self,
12091208
host = flask_run_options.get('host', '127.0.0.1')
12101209
ssl_context = flask_run_options.get('ssl_context')
12111210
self.logger.info(
1212-
'Running on {}://{}:{}{}'.format(
1213-
'https' if ssl_context else 'http',
1214-
host, port, self.config.requests_pathname_prefix)
1211+
'Running on %s://%s:%s%s',
1212+
'https' if ssl_context else 'http',
1213+
host, port, self.config.requests_pathname_prefix
12151214
)
12161215

12171216
self.server.run(port=port, debug=debug,

0 commit comments

Comments
 (0)