import web
import sys
+import json
urls = (
'/(.*)', 'Hello'
app = web.application(urls, globals())
class Hello:
- def GET(self, name):
+ def GET(self, request):
if request == 'get_load':
resp = {"load": LOAD}
web.header('Content-Type', 'application/json')