📝 Update documentation

This commit is contained in:
otthorn 2021-04-14 19:21:40 +02:00
parent 0913cc9eae
commit 502640c165

3
lib.py
View file

@ -68,7 +68,8 @@ def get_serial(dns_zone):
""" """
Query the serial number from the NS Query the serial number from the NS
dns_zone can either be a str or a dns.zone.Zone obj The parameter `dns_zone` can either be a `str` or a `dns.zone.Zone` object.
Error handling is added to return 0 if the query is unsucessful.
""" """
try: try: