Skip to content

Commit

Permalink
Merge pull request #732 from comargo/master
Browse files Browse the repository at this point in the history
Fix issue #731
  • Loading branch information
miurahr authored Nov 12, 2023
2 parents d47adb8 + 5229003 commit 9f4855e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aqt/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def __init__(
self,
archive_id: ArchiveId,
*,
base_url: str = Settings.baseurl,
base_url: Optional[str] = None,
spec: Optional[SimpleSpec] = None,
is_latest_version: bool = False,
modules_query: Optional[ModulesQuery] = None,
Expand All @@ -547,7 +547,7 @@ def __init__(
self.logger = getLogger("aqt.metadata")
self.archive_id = archive_id
self.spec = spec
self.base_url = base_url
self.base_url = base_url or Settings.baseurl

if archive_id.is_tools():
if tool_name is not None:
Expand Down

0 comments on commit 9f4855e

Please sign in to comment.