tz/via_location.py: update import to fallback

This commit is contained in:
Sean Breckenridge 2023-02-16 02:28:08 -08:00
parent fdfd22bef2
commit a7cc89bbfb

View file

@ -211,7 +211,7 @@ def _get_tz(dt: datetime) -> Optional[pytz.BaseTzInfo]:
if res is not None:
return res
# fallback to home tz
from ...location import home
from my.location.fallback import via_home as home
loc = home.get_location(dt)
return _get_home_tz(loc=loc)