prevent scope from causing incompatible type assigments

This commit is contained in:
Sean Breckenridge 2022-04-25 18:39:17 -07:00
parent ca10d524a4
commit 51c4b7979d

View file

@ -69,8 +69,8 @@ def _locations() -> Iterator[Tuple[LatLon, datetime]]:
import my.location.google import my.location.google
for loc in my.location.google.locations(): for gloc in my.location.google.locations():
yield ((loc.lat, loc.lon), loc.dt) yield ((gloc.lat, gloc.lon), gloc.dt)
def _iter_local_dates() -> Iterator[DayWithZone]: def _iter_local_dates() -> Iterator[DayWithZone]: