Skip to content

Commit

Permalink
Merge pull request #9 from kfzteile24/master
Browse files Browse the repository at this point in the history
Fixed infinite loop
  • Loading branch information
Alexander Schaefer authored Dec 6, 2017
2 parents 31ed970 + fd0b5b3 commit 67e7c50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bingads_downloader/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ def download_ad_performance_data(api_client: BingReportClient):
print(url_error, file=sys.stderr)
time.sleep(config.retry_timeout_interval)
remaining_attempts -= 1
else:
current_date -= datetime.timedelta(days=1)


def build_ad_performance_request_for_single_day(api_client: BingReportClient,
Expand Down

0 comments on commit 67e7c50

Please sign in to comment.