diff options
Diffstat (limited to 'tools/scan-view/ScanView.py')
-rw-r--r-- | tools/scan-view/ScanView.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scan-view/ScanView.py b/tools/scan-view/ScanView.py index 837adae0f763..c6dddba6a764 100644 --- a/tools/scan-view/ScanView.py +++ b/tools/scan-view/ScanView.py @@ -641,7 +641,7 @@ File Bug</h3> def send_head(self, fields=None): if (self.server.options.onlyServeLocal and self.client_address[0] != '127.0.0.1'): - return self.send_error('401', 'Unauthorized host.') + return self.send_error(401, 'Unauthorized host.') if fields is None: fields = {} |