Skip to content

Commit

Permalink
Fix mistake in initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanking13 committed Sep 19, 2023
1 parent df9cc45 commit b924c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micropip/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class Transaction:
def __post_init__(self):
# If index_urls is None, pyodide-lock.json have to be searched first.
# TODO: when PyPI starts to support hosting WASM wheels, this might be deleted.
self.search_pyodide_lock_first = self.index_urls is None
self.search_pyodide_lock_first = self.index_urls == package_index.DEFAULT_INDEX_URLS

async def gather_requirements(
self,
Expand Down

0 comments on commit b924c5b

Please sign in to comment.