Added finished-msg

master
Ruakij 3 years ago
parent a813e5187e
commit 8270b9ba83

@ -139,6 +139,8 @@ def updateNsData(zone):
log.error(f'{adaptedZone} |\t{sys.exc_info()}') log.error(f'{adaptedZone} |\t{sys.exc_info()}')
log.error(f'{adaptedZone} |\tUpdating NS-Data failed!') log.error(f'{adaptedZone} |\tUpdating NS-Data failed!')
log.info(f'{adaptedZone} |\tFinished')
def adaptZoneName(zone): def adaptZoneName(zone):
if config['zone']['public-suffix'] != "" and zone.endswith(config['zone']['public-suffix']): if config['zone']['public-suffix'] != "" and zone.endswith(config['zone']['public-suffix']):
adaptedZone = zone[:-len(config['zone']['public-suffix'])] adaptedZone = zone[:-len(config['zone']['public-suffix'])]

Loading…
Cancel
Save