mirror of
https://github.com/AsgardEternal/DiscordWhitelist.git
synced 2024-12-30 15:19:12 -06:00
fix header response
This commit is contained in:
parent
6e3c2be8bd
commit
2cd5955492
@ -60,7 +60,7 @@ class serveRA(http.server.SimpleHTTPRequestHandler):
|
|||||||
print('failed to serve file!', file=stderr)
|
print('failed to serve file!', file=stderr)
|
||||||
print(traceback.format_exc(), file=stderr)
|
print(traceback.format_exc(), file=stderr)
|
||||||
else:
|
else:
|
||||||
self.send_response_only(400)
|
self.send_error(400, 'please specify the group to pull from', 'no grpName specified!')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user