Return 1 on failure

This commit is contained in:
bashrc committed 2020-04-16 11:27:55 +01:00
1 parent ed1c986fe5
commit 32bce7bfa1
1 file changed
+1 -1
+1 -1
View File
@@ -866,7 +866,7 @@ class PubServer(BaseHTTPRequestHandler):
self.end_headers()
self.server.POSTbusy = False
return 0
return 2
return 1
def _isAuthorized(self) -> bool:
if self.path.startswith('/icons/') or \