This commit is contained in:
Karol Wypchlo 2021-03-01 18:50:01 +01:00
parent d9ed1decf6
commit 6af13b4715
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ async def block_skylinks_from_airtable():
response = requests.post('http://' + ipaddress + ':9980/skynet/blocklist', auth = auth, headers = headers, data = data)
if response.status_code == 204:
print("Siad blocklist succesfully updated with provided skylink")
print("Siad blocklist successfully updated with provided skylink")
else:
message = "Siad blocklist endpoint responded with code " + str(response.status_code) + ": " + (response.text or "empty response")
return print(message) or await send_msg(client, message, force_notify=True)