This commit is contained in:
Be
2024-03-03 17:51:12 +01:00
parent 1983047bcb
commit 4256185646
2 changed files with 4 additions and 1 deletions

View File

@@ -29,6 +29,9 @@ def whois_query(query, get_field="netname", get_org=False):
if line.startswith(get_field + ':'):
basic_name = line.split(':')[1].strip()
if basic_name is None:
basic_name = '-no-description-'
if org_name is None:
org_name = 'No org name found'