witten
/
luminotes
Archived
1
0
Fork 0

Calling change_to_main_dir() earlier so it actually influences config/Desktop.py, which calls os.getcwd().

This commit is contained in:
Dan Helfman 2008-08-21 20:10:28 -07:00
parent f092abee11
commit 6db1494f9c
1 changed files with 2 additions and 2 deletions

View File

@ -28,6 +28,8 @@ def change_to_main_dir():
def main( args ):
change_to_main_dir()
cherrypy.config.update( Common.settings )
if args and "-d" in args:
@ -65,8 +67,6 @@ def main( args ):
socket.setdefaulttimeout( SOCKET_TIMEOUT_SECONDS )
change_to_main_dir()
database = Database(
host = cherrypy.config.configMap[ u"global" ].get( u"luminotes.db_host" ),
ssl_mode = cherrypy.config.configMap[ u"global" ].get( u"luminotes.db_ssl_mode" ),