Skip to content

Commit 503cb70

Browse files
MrButtCodecanihavesomecoffee
authored andcommitted
refactor(ci): move datetime import to module level
1 parent 8d5b8a5 commit 503cb70

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)