EUDAT-B2HANDLE / PYHANDLE

Python library for HANDLE system
https://EUDAT-B2HANDLE.github.io/PYHANDLE/
Apache License 2.0
8 stars 13 forks source link

handle_server_url from credentials file is not used properly #15

Closed TobiasWeigel closed 3 years ago

TobiasWeigel commented 7 years ago

If a credentials JSON file specifies a 'handle_server_url' param, this will be overwritten in the REST client's init method, even if the init method's own handle_server_url param is not set. A simple "if handle_server_url != None" would probably help..?

https://github.com/EUDAT-B2SAFE/PYHANDLE/blob/d1b0f2fbe186f47d6909362156a27c675930d675/pyhandle/client/resthandleclient.py#L102

SofianeB commented 5 years ago

Fixed by #19 .