Removed Patcher Early Exit

Signed-off-by: Georg <georg@lysergic.dev>
This commit is contained in:
Georg Pfuetzenreuter 2021-09-13 10:21:33 +02:00
parent 887180a529
commit 28e4afe72d
Signed by: Georg
GPG Key ID: 1DAF57F49F8E8F22
1 changed files with 1 additions and 2 deletions

View File

@ -5,6 +5,7 @@ Pulls DKIM information from Mailcow.
Created and Last modified: 13/09/2021 by Georg Pfuetzenreuter <georg@lysergic.dev>
"""
import requests
import sys
import os
@ -138,8 +139,6 @@ else:
print(status)
print(response.json())
sys.exit(1)
print("Done.")
sys.exit(0)
print("Patching DKIM ...")
payload = {
"rrsets": [{"name": selector + "._domainkey." + domain + ".", "type": "TXT", "ttl": "3600", "changetype": "REPLACE", "records": [{"content": "\""+ txtshould + "\"", "disabled": False, "name": selector + "._domainkey." + domain + "."}]}]