Skip to content

Commit f199479

Browse files
committed
Merge branch 'migration' of https://github.com/geetu040/openml-python into runs-migration-stacked
2 parents 7457f16 + ec9477f commit f199479

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openml/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ def _sync_api_config() -> None:
534534

535535
p = urlparse(server)
536536
v1_server = f"{p.scheme}://{p.netloc}/"
537-
v1_base_url = p.path.lstrip("/")
537+
v1_base_url = p.path.rstrip("/") + "/" # requirement for urllib.parse.urljoin
538538
connection_retry_policy = RetryPolicy.HUMAN if retry_policy == "human" else RetryPolicy.ROBOT
539539
cache_dir = str(_root_cache_directory)
540540

0 commit comments

Comments
 (0)