possibly fixed issue 1011

This commit is contained in:
mdipierro
2012-09-16 13:55:29 -05:00
parent 49fb0c90ad
commit 34a71b5e2d
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.9 (2012-09-16 13:06:39) stable
Version 2.0.9 (2012-09-16 13:55:25) stable
+2
View File
@@ -154,6 +154,8 @@ class Web2pyService(Service):
def web2py_windows_service_handler(argv=None, opt_file='options'):
path = os.path.dirname(__file__)
web2py_path = up(path)
if web2py_path.endswith('.zip'): # in case bianry distro 'library.zip'
web2py_path = os.path.dirname(web2py_path)
os.chdir(web2py_path)
classstring = os.path.normpath(
os.path.join(web2py_path,'gluon.winservice.Web2pyService'))