[modules/arch-update] fix log error

This commit is contained in:
Tobias Witek 2020-05-26 08:15:15 +02:00
parent f1ce5e162a
commit f23566f5d0

View file

@ -44,7 +44,7 @@ class Module(core.module.Module):
self.__packages = 0 self.__packages = 0
else: else:
self.__error = True self.__error = True
log.error("checkupdates exited with {}: {}".format(code, result)) logging.error("checkupdates exited with {}: {}".format(code, result))
def state(self, widget): def state(self, widget):
if self.__error: if self.__error: