Fixed for data argument

This commit is contained in:
Dimitris Zlatanidis 2023-04-09 22:52:07 +03:00
parent c65e9c6168
commit 0cbeb00984

View file

@ -32,7 +32,8 @@ class Download(Configs):
def packages(self, data: dict, packages: list, repo=None) -> None:
""" Download the package only. """
packages: list = self.utils.apply_package_pattern(data, packages)
view = ViewMessage(self.flags, repo)
view = ViewMessage(self.flags, data, repo)
view.download_packages(packages, self.directory)
view.question()