chairemobilite / transition

Transition is a modern new approach to transit planning. It's a web application to model, simulate and plan public transit and alternative transportation.
http://transition.city
MIT License
20 stars 13 forks source link

pyTransition: Clean extra "/" at the end of an URL #948

Closed greenscientist closed 1 month ago

greenscientist commented 1 month ago

We already add the "/" at the begin of the path in the URLs, so we should remove the extra one if the use has added one when configuring his access

greenscientist commented 1 month ago

Fixes: https://github.com/chairemobilite/transition_qgis/issues/13

greenscientist commented 1 month ago

Thinking more about it, I might have something better. I'll try to instead using urllib to handle the URL. (And by I, I mostly mean chatgpt...)

greenscientist commented 1 month ago

Doing #949 instead