Updated arguments

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2020-02-15 23:45:50 +01:00
parent 7e58adb490
commit 3ab06176ca
2 changed files with 3 additions and 3 deletions

View file

@ -70,11 +70,11 @@ class Utils:
if line.startswith("PACKAGE NAME:"): if line.startswith("PACKAGE NAME:"):
yield split_package(line[14:].strip())[0] yield split_package(line[14:].strip())[0]
def check_downloaded(self, path, maybe_downloaded): def check_downloaded(self, path, downloaded):
"""Check if files downloaded and return downloaded """Check if files downloaded and return downloaded
packages packages
""" """
for pkg in maybe_downloaded: for pkg in downloaded:
if os.path.isfile(f"{path}{pkg}"): if os.path.isfile(f"{path}{pkg}"):
yield pkg yield pkg