[modules/aur-update] hide if no packages

fixes #978
This commit is contained in:
tobi-wan-kenobi 2023-07-17 12:58:48 +02:00
parent 2546dbae2e
commit f855d5c235

View file

@ -31,7 +31,7 @@ class Module(core.module.Module):
return self.__format.format(self.__packages) return self.__format.format(self.__packages)
def hidden(self): def hidden(self):
return self.__packages == 0 and not self.__error return self.__packages == 0
def update(self): def update(self):
self.__error = False self.__error = False