diff --git a/openml/config.py b/openml/config.py index 4a8017228..8c4de1431 100644 --- a/openml/config.py +++ b/openml/config.py @@ -101,7 +101,7 @@ def get_server_base_url() -> str: ======= str """ - return server[:-len('/api/v1/xml')] + return server.split("/api")[0] apikey = _defaults['apikey']