[modules/contrib/dnf] fix undefined "widget" error

while refactoring, i overlooked that the variable "widget" doesn't exist
anymore.

see #692
This commit is contained in:
tobi-wan-kenobi 2020-08-28 14:03:34 +02:00
parent db41792afb
commit 362d1a5f6f

View file

@ -29,6 +29,7 @@ class Module(core.module.Module):
return "/".join(result) return "/".join(result)
def update(self): def update(self):
widget = self.widget()
res = util.cli.execute("dnf updateinfo", ignore_errors=True) res = util.cli.execute("dnf updateinfo", ignore_errors=True)
security = 0 security = 0