Avoid stale timezonefinder cache when dependency is installed later
This commit is contained in:
parent
38cf270307
commit
d7e469a0ed
1 changed files with 0 additions and 2 deletions
|
|
@ -3,7 +3,6 @@
|
|||
"""Web page to show upcoming events."""
|
||||
|
||||
import decimal
|
||||
import functools
|
||||
import hashlib
|
||||
import importlib
|
||||
import inspect
|
||||
|
|
@ -807,7 +806,6 @@ def _timezone_from_coordinates(latitude: float, longitude: float) -> str | None:
|
|||
return None
|
||||
|
||||
|
||||
@functools.lru_cache(maxsize=1)
|
||||
def _get_timezone_finder() -> typing.Any:
|
||||
"""Get timezone finder instance if dependency is available."""
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue