kovacsbalu / WazeRouteCalculator

Calculate actual route time and distance with Waze api
GNU General Public License v3.0
146 stars 59 forks source link

Fix subscription roads #52

Closed hmmbob closed 5 years ago

hmmbob commented 5 years ago

Pr #47 introduced AVOID_SUBSCRIPTION_ROADS, but this was only implemented correctly for the FALSE option. Setting this variable to true (so actually avoiding subscription roads) led to an error. This PR fixes that.

Fixes #51 .

After merging, please release a new package so I can update the Home Assistant integration as well. Work for that is already prepared, just need version 0.12 released.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.04%) to 95.276% when pulling 102941358c40625865f2d79762e7aa6d0622b821 on hmmbob:patch-1 into c3218576882188da53f03616f8c89a8c7f02408a on kovacsbalu:master.