Commit a37def25 authored by Łukasz Nowak's avatar Łukasz Nowak

Bot: Fix reporting of updated_date and expiration_date

parent d900458e
......@@ -466,10 +466,16 @@ class WebBot:
)
else None,
"updated_date": rfc822(domain_change["updated_date"])
if (domain_change["updated_date"] is datetime.datetime)
if (
type(domain_change["updated_date"])
is datetime.datetime
)
else None,
"expiration_date": rfc822(domain_change["expiration_date"])
if (domain_change["expiration_date"] is datetime.datetime)
if (
type(domain_change["expiration_date"])
is datetime.datetime
)
else None,
"name_servers": domain_change["name_servers"],
"whois_status": domain_change["whois_status"],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment