HDFGroup / h5pyd

h5py distributed - Python client library for HDF Rest API
Other
114 stars 38 forks source link

Remove trailing slash from endpoint if it exists #107

Closed hickey closed 6 months ago

hickey commented 3 years ago

As noted in HDFGroup#105, this PR will remove the trailing slash from the endpoint parameter if it exists. This will prevent the exception from being thrown if the slash exists.

Sorry, I though this PR was created against the HDFGroup/h5pyd project, but I just found it only against my fork of the project. So here it is.