Commit 0a622d3f authored by Romain Courteaud's avatar Romain Courteaud

version 0.7.1

parent fc512e0b
...@@ -55,7 +55,7 @@ import tempfile ...@@ -55,7 +55,7 @@ import tempfile
import os import os
__version__ = "0.7.0" __version__ = "0.7.1"
class BotError(Exception): class BotError(Exception):
...@@ -373,10 +373,7 @@ class WebBot: ...@@ -373,10 +373,7 @@ class WebBot:
"registrar": domain_change["registrar"], "registrar": domain_change["registrar"],
"whois_server": domain_change["whois_server"], "whois_server": domain_change["whois_server"],
"creation_date": rfc822(domain_change["creation_date"]) "creation_date": rfc822(domain_change["creation_date"])
if ( if (type(domain_change["creation_date"]) is datetime.datetime)
type(domain_change["creation_date"])
is datetime.datetime
)
else None, else None,
"updated_date": rfc822(domain_change["updated_date"]) "updated_date": rfc822(domain_change["updated_date"])
if (domain_change["updated_date"] is datetime.datetime) if (domain_change["updated_date"] is datetime.datetime)
......
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