GIScience / orstools-qgis-plugin

Plugin for QGIS with a set of tools to use openrouteservice API´s, based on openstreetmap
https://plugins.qgis.org/plugins/ORStools/
MIT License
92 stars 31 forks source link

Rate limit response headers should be optional #102

Closed nilsnolde closed 5 years ago

nilsnolde commented 5 years ago

local ORS installation don't have those headers obviously..

Ref. #99

SlowMo24 commented 5 years ago

Perfect, thank you! Your response was super quick and on point! Just for the reference: I changed Line 201 in core/client.py to

        if False:

And it seems to work fine.

nilsnolde commented 5 years ago

Nice, happy to hear that:)

nilsnolde commented 5 years ago

When you added a new provider to config.yml, I guess you also copied the ENV_VAR section, right? If you omit that it works. Just confirmed on my localhost.

Anyways, it's related to #103. When that works again, this issue will solve itself.

nilsnolde commented 5 years ago

uploaded in plugin repo