diff --git a/slpkg/binaries/required.py b/slpkg/binaries/required.py index 0b105425..c833dda3 100644 --- a/slpkg/binaries/required.py +++ b/slpkg/binaries/required.py @@ -27,13 +27,13 @@ class Required: self.repos.slint_repo_name ] - self.repo: str = data[name]['repository'] + self.repo: str = data[name]['repo'] self.repository_packages: tuple = tuple(self.data.keys()) def resolve(self) -> tuple: """ Resolve the dependencies. """ requires: list[str] = list( - self.remove_deps(self.data[self.name]['requires'].split()) + self.remove_deps(self.data[self.name]['requires']) ) # Resolve dependencies for some special repos. @@ -45,7 +45,7 @@ class Required: else: for require in requires: sub_requires: list[str] = list( - self.remove_deps(self.data[require]['requires'].split()) + self.remove_deps(self.data[require]['requires']) ) for sub in sub_requires: requires.append(sub)