Skip to content

Commit a68651d

Browse files
author
MrButtCode
committed
refactor(ci): move datetime import to module level
1 parent 42a3e6d commit a68651d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

utility.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ def cache_has_expired(load_time: datetime) -> bool:
8888
:return: True if the cache was last updated more than one hour ago.
8989
:rtype: bool
9090
"""
91-
from datetime import datetime, timedelta
9291
return load_time + timedelta(hours=1) < datetime.now()
9392

9493

0 commit comments

Comments
 (0)