1
0
Fork 0
mirror of https://github.com/Luzifer/dns.git synced 2024-12-22 19:01:20 +00:00

Fix: Default value is None, not ''

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-12-17 18:04:10 +01:00
parent 21ffa283ef
commit ea6ad1f1be
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -133,7 +133,7 @@ def write_zone(zone, ttl, soa, nameserver, mailserver, entries):
def healthcheck():
if os.getenv('HC_PING') != '':
if os.getenv('HC_PING') is not None:
requests.get(os.getenv('HC_PING'))