diff options
Diffstat (limited to 'native_client_sdk/src/tools/httpd.py')
-rwxr-xr-x | native_client_sdk/src/tools/httpd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native_client_sdk/src/tools/httpd.py b/native_client_sdk/src/tools/httpd.py index 7354565..88d8f98 100755 --- a/native_client_sdk/src/tools/httpd.py +++ b/native_client_sdk/src/tools/httpd.py @@ -136,7 +136,7 @@ class PluggableHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): _, _, _, query, _ = urlparse.urlsplit(self.path) if query: params = urlparse.parse_qs(query) - if '1' in params.get('quit', None): + if '1' in params.get('quit', []): self._SendNothingAndDie() return |