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:
parent
0002f270e4
commit
a87a7dcff5
2
NEWS
2
NEWS
|
@ -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.
|
||||
|
|
|
@ -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" )
|
||||
|
|
Reference in New Issue