compare singletons by identity not equality (closes #16712)

Patch from Serhiy Storchaka.
This commit is contained in:
Benjamin Peterson 2012-10-09 11:16:03 -04:00
parent a511935151
commit b29614e047
9 changed files with 15 additions and 15 deletions

View file

@ -2551,8 +2551,8 @@ def cli():
if opt == '-w':
writing = True
if start_server == True:
if port == None:
if start_server:
if port is None:
port = 0
browse(port, open_browser=open_browser)
return