Skip to content

Commit c01fe3b

Browse files
committed
moved display_host field to WerkzeugServer object
1 parent 5defff3 commit c01fe3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorboard/program.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ def __init__(
162162
raise ValueError("Duplicate subcommand name: %r" % name)
163163
self.subcommands[name] = subcommand
164164
self.flags = None
165-
self.display_host = None # Will be set by get_url() below
166165

167166
def configure(self, argv=("",), **kwargs):
168167
"""Configures TensorBoard behavior via flags.
@@ -598,6 +597,7 @@ def __init__(self, wsgi_app, flags):
598597
host = "localhost"
599598

600599
self._host = host
600+
self.display_host = None # Will be set by get_url() below
601601

602602
self._fix_werkzeug_logging()
603603
try:

0 commit comments

Comments
 (0)