From 362d1a5f6f8229e3cd5a849cc474c48bbf52551f Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Fri, 28 Aug 2020 14:03:34 +0200 Subject: [PATCH] [modules/contrib/dnf] fix undefined "widget" error while refactoring, i overlooked that the variable "widget" doesn't exist anymore. see #692 --- bumblebee_status/modules/contrib/dnf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bumblebee_status/modules/contrib/dnf.py b/bumblebee_status/modules/contrib/dnf.py index 21c9245..f90ee84 100644 --- a/bumblebee_status/modules/contrib/dnf.py +++ b/bumblebee_status/modules/contrib/dnf.py @@ -29,6 +29,7 @@ class Module(core.module.Module): return "/".join(result) def update(self): + widget = self.widget() res = util.cli.execute("dnf updateinfo", ignore_errors=True) security = 0