diff --git a/slpkg/main.py b/slpkg/main.py index 5adab7c7..fb422647 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -320,7 +320,7 @@ class ArgParse(BlackList): BinaryInstall(pkg_upgrade("slack", skip, flag), "slack", flag).start(is_upgrade=True) else: - Patches(skip, flags[0]).start() + Patches(skip, flags).start() elif self.args[1] == "sbo": SBoInstall(sbo_upgrade(skip, flag), flag).start( is_upgrade=True) diff --git a/slpkg/slack/patches.py b/slpkg/slack/patches.py index 8a14929b..baadcbc1 100644 --- a/slpkg/slack/patches.py +++ b/slpkg/slack/patches.py @@ -158,9 +158,10 @@ class Patches(BlackList, Utils): data.append(upg[:-4]) text = "Press 'spacebar' to unchoose packages from upgrade" title = " Upgrade " + status = True backtitle = f"{self.meta.__all__} {self.meta.__version__}" pkgs = DialogUtil(data, text, title, backtitle, - status=True).checklist() + status).checklist() index = 0 for pkg, comp, uncomp in zip(self.upgrade_all, self.comp_sum, self.uncomp_sum):