witten
/
luminotes
Archived
1
0
Fork 0

New "-w" option to luminotes.py that prevents web browser from opening when Luminotes Desktop is started. Patch from Pete Burgers.

This commit is contained in:
Dan Helfman 2009-11-02 18:33:44 -08:00
parent 0002f270e4
commit a87a7dcff5
2 changed files with 7 additions and 1 deletions

2
NEWS
View File

@ -8,6 +8,8 @@
* Now stripping certain invisible placeholder characters from print version
of Luminotes notebooks. These characters could show up when copy and pasted
into another application.
* New "-w" option to luminotes.py that prevents web browser from opening when
Luminotes Desktop is started. Patch from Pete Burgers.
1.6.17: July 26, 2009
* Fixed a bug that caused ever-growing notes in Internet Explorer 8.

View File

@ -50,7 +50,11 @@ def main( args ):
cherrypy.config.update( settings )
launch_browser = cherrypy.config.configMap[ u"global" ].get( u"luminotes.launch_browser" )
# Don't launch web browser if -w flag is set
if args and "-w" in args:
launch_browser = False
else:
launch_browser = cherrypy.config.configMap[ u"global" ].get( u"luminotes.launch_browser" )
socket.setdefaulttimeout( INITIAL_SOCKET_TIMEOUT_SECONDS )
port_filename = cherrypy.config.configMap[ u"global" ].get( u"luminotes.port_file" )