1.1 --- a/OpenSecurity/bin/opensecurityd.pyw Tue Apr 01 16:11:36 2014 +0200
1.2 +++ b/OpenSecurity/bin/opensecurityd.pyw Wed Apr 02 09:47:38 2014 +0200
1.3 @@ -50,7 +50,7 @@
1.4 # ------------------------------------------------------------
1.5 # const
1.6
1.7 -__version__ = "0.2.3"
1.8 +__version__ = "0.2.4"
1.9
1.10
1.11 """All the URLs we know mapping to class handler"""
1.12 @@ -182,7 +182,7 @@
1.13 res += '"path": "' + t.replace('\\', '\\\\') + '", '
1.14 res += '"size": ' + str(os.path.getsize(t)) + ', '
1.15 res += '"date": ' + str(os.path.getmtime(t)) + ''
1.16 - res += '}'
1.17 + res += '}}'
1.18 return res
1.19
1.20
1.21 @@ -386,7 +386,7 @@
1.22 def GET(self):
1.23 log_call(web.ctx.environ)
1.24 global gvm_mgr
1.25 - return gvm_mgr.listVM()
1.26 + return str(gvm_mgr.listVM()).replace("'",'"')
1.27
1.28
1.29 def log_call(web_environ):