[modules/arch-update] fix typo

This commit is contained in:
tobi-wan-kenobi 2020-05-08 16:24:10 +02:00
parent 3033c6646c
commit 5dcf9f9c9d

View file

@ -34,7 +34,7 @@ class Module(core.module.Module):
try: try:
result = util.cli.execute("checkupdates") result = util.cli.execute("checkupdates")
self.__packages = len(result.split("\n")) - 1 self.__packages = len(result.split("\n")) - 1
except as e: except Exception as e:
logging.exception(e) logging.exception(e)
self.__packages = -1 self.__packages = -1