Skip to content

Commit

Permalink
Merge pull request singer-io#11 from singer-io/fix_infinite_loop
Browse files Browse the repository at this point in the history
change while loop conditions to fix infinite loop
  • Loading branch information
nick-mccoy authored Sep 6, 2018
2 parents a6045fc + de795f8 commit eb6698d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_appsflyer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def sync_in_app_events():
from_datetime = get_start("in_app_events")
to_datetime = get_stop(from_datetime, stop_time, 10)

while to_datetime <= stop_time:
while from_datetime < stop_time:
LOGGER.info("Syncing data from %s to %s", from_datetime, to_datetime)
params = dict()
params["from"] = from_datetime.strftime("%Y-%m-%d %H:%M")
Expand Down

0 comments on commit eb6698d

Please sign in to comment.