Merge pull request #309 from kelp/kelp-arch-update-fix

Return 0 as an int rather than a string.
This commit is contained in:
tobi-wan-kenobi 2018-10-29 17:53:47 +01:00 committed by GitHub
commit d2795fd99b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ class Module(bumblebee.engine.Module):
packages.pop() packages.pop()
return len(packages) return len(packages)
return '0' return 0
def utilization(self, widget): def utilization(self, widget):
return 'Update Arch: {}'.format(self.packages) return 'Update Arch: {}'.format(self.packages)