mirror of
https://github.com/AsgardEternal/DiscordWhitelist.git
synced 2024-12-30 12:59:13 -06:00
fix header response
This commit is contained in:
parent
ecc65466d3
commit
e2e92f72b2
@ -60,7 +60,8 @@ class serveRA(http.server.SimpleHTTPRequestHandler):
|
||||
print('failed to serve file!', file=stderr)
|
||||
print(traceback.format_exc(), file=stderr)
|
||||
else:
|
||||
self.send_response_only(404, 'you must specify the group to pull from!')
|
||||
self.send_response(400)
|
||||
self.end_headers()
|
||||
return
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user