add 30s delay at the end of auth

This commit is contained in:
Robert Kaussow 2018-06-20 23:40:23 +02:00
parent 808ee63def
commit 6942af8c29
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,8 @@ import logging
import tldextract
import codecs
from time import sleep
def setup_logger():
# seup logging
@ -210,6 +212,9 @@ def main():
z_commit = dns_commit(config, logger)
logger.info("Set TXT record successful")
logger.info("Sleep to propagate over changes to DNS")
sleep(30)
if __name__ == "__main__":
main()