Fix for previous versions of python

This commit is contained in:
lucassouto 2018-09-08 18:59:55 -03:00
parent edee95b57a
commit 63bb771df2

View file

@ -30,7 +30,7 @@ class Module(bumblebee.engine.Module):
return '0' return '0'
def utilization(self, widget): def utilization(self, widget):
return f'Update Arch: {self.packages}' return 'Update Arch: {}'.format(self.packages)
def hidden(self): def hidden(self):
return self.check_updates() == 0 return self.check_updates() == 0