index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Girtler <blackrabbit256@gmail.com> | 2023-10-03 18:31:17 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 18:31:17 +1100 |
commit | edbc13590366e93bb8a85eacf104d5613bc5793a (patch) | |
tree | d26ddd0700b669f747522ae62ba1d71df1ff27d6 /archinstall/lib/packages | |
parent | 5c903df55fac449baae1e9cc23b04f6beeb55364 (diff) |
-rw-r--r-- | archinstall/lib/packages/packages.py | 4 |
diff --git a/archinstall/lib/packages/packages.py b/archinstall/lib/packages/packages.py index 7491df07..e495b03f 100644 --- a/archinstall/lib/packages/packages.py +++ b/archinstall/lib/packages/packages.py @@ -55,8 +55,8 @@ def package_search(package :str) -> PackageSearch: raise PackageError(f"Could not locate package: [{response.code}] {response}") data = response.read().decode('UTF-8') - - return PackageSearch(**json.loads(data)) + json_data = json.loads(data) + return PackageSearch.from_json(json_data) def find_package(package :str) -> List[PackageSearchResult]: |