summaryrefslogtreecommitdiffstats
path: root/module/remote/wsbackend/Server.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/wsbackend/Server.py')
-rw-r--r--module/remote/wsbackend/Server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/remote/wsbackend/Server.py b/module/remote/wsbackend/Server.py
index 570753073..65f4fe5d5 100644
--- a/module/remote/wsbackend/Server.py
+++ b/module/remote/wsbackend/Server.py
@@ -32,6 +32,7 @@
# A copy of standalone.py with uneeded stuff removed
# some logging methods removed
+# Added api attribute to request
import BaseHTTPServer
import CGIHTTPServer
@@ -129,6 +130,7 @@ class _StandaloneRequest(object):
"""
self._logger = logging.getLogger("log")
+ self.api = None
self._request_handler = request_handler
self.connection = _StandaloneConnection(request_handler)