diff --git a/.github/workflows/test-overpass.yml b/.github/workflows/test-overpass.yml index 367da32ba..c81580a43 100644 --- a/.github/workflows/test-overpass.yml +++ b/.github/workflows/test-overpass.yml @@ -3,13 +3,10 @@ name: overpass-test # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: - push: - branches: - - overpass - # schedule: + schedule: - # # Run every Sunday at 6:05 am - # - cron: '5 6 * * 0' + # Run every Sunday at 6:05 am + - cron: '5 6 * * 0' jobs: build: runs-on: ubuntu-latest diff --git a/emission/net/ext_service/transit_matching/match_stops.py b/emission/net/ext_service/transit_matching/match_stops.py index a39afd681..eabb083b6 100644 --- a/emission/net/ext_service/transit_matching/match_stops.py +++ b/emission/net/ext_service/transit_matching/match_stops.py @@ -26,8 +26,7 @@ def make_request_and_catch(overpass_query): try: - response = requests.post(url + "api/interpreter", data=overpass_query) - + response = requests.post(url + "api/interpreter", data=overpass_query) except requests.exceptions.ChunkedEncodingError as e: logging.info("ChunkedEncodingError while creating request %s" % (e)) time.sleep(10)