Skip to content

Commit c8f74c6

Browse files
committed
Fix type issue.
1 parent fc0aac7 commit c8f74c6

File tree

1 file changed

+5
-3
lines changed
  • PyFunceble/checker/availability

1 file changed

+5
-3
lines changed

PyFunceble/checker/availability/base.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -786,9 +786,11 @@ def try_to_query_status_from_whois(
786786
"idna_subject": self.idna_subject,
787787
"expiration_date": self.status.expiration_date,
788788
"epoch": str(
789-
datetime.strptime(
790-
self.status.expiration_date, "%d-%b-%Y"
791-
).timestamp()
789+
int(
790+
datetime.strptime(
791+
self.status.expiration_date, "%d-%b-%Y"
792+
).timestamp()
793+
)
792794
),
793795
}
794796
)

0 commit comments

Comments
 (0)