diff --git a/ogn_python/collect/takeoff_landings.py b/ogn_python/collect/takeoff_landings.py index d33ce9d..01fa6d8 100644 --- a/ogn_python/collect/takeoff_landings.py +++ b/ogn_python/collect/takeoff_landings.py @@ -38,7 +38,7 @@ def update_takeoff_landings(session=None, date=None): # limit time range to given date if date is not None: (start, end) = date_to_timestamps(date) - filters = [between(TakeoffLanding.timestamp, start, end)] + filters = [between(AircraftBeacon.timestamp, start, end)] else: filters = []