From bab41785dd6af2ecc88078dd22550b483e7fc776 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 9 Jun 2020 14:36:02 +0100 Subject: make search work --- src/backend/search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/search.py') diff --git a/src/backend/search.py b/src/backend/search.py index 7e5ab2f..c9b5862 100644 --- a/src/backend/search.py +++ b/src/backend/search.py @@ -2,5 +2,5 @@ import subprocess -def start(pkgList): - subprocess.call(['emerge', '--search', '--getbinpkg'] + pkgList) +def start(pkgname): + subprocess.call(['emerge', '--search', '--getbinpkg'] + list(pkgname)) -- cgit v1.2.3