Skip to content

Commit

Permalink
trac #2989 followup.
Browse files Browse the repository at this point in the history
  • Loading branch information
williamstein committed Apr 22, 2008
1 parent 6ccd5a9 commit 3c1f5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/server/notebook/run_notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def notebook_setup(self=None):
def notebook_twisted(self,
directory = None,
port = 8000,
address = 'localhost',
address = '',
port_tries = 50,
secure = True,
reset = False,
Expand Down Expand Up @@ -234,7 +234,7 @@ def my_sigint(x, n):

## Start up twisted
if not quiet:
print_open_msg(address, port, secure=secure)
print_open_msg('localhost' if not address else address, port, secure=secure)
if secure and not quiet:
print "There is an admin account. If you do not remember the password,"
print "quit the notebook and type notebook(reset=True)."
Expand Down

0 comments on commit 3c1f5e2

Please sign in to comment.