always display the 0 line

This commit is contained in:
Romain Bignon 2010-10-31 14:50:00 +01:00
commit 34be0d69d2
2 changed files with 2 additions and 1 deletions

View file

@ -51,6 +51,7 @@ class BoobankMuninPlugin(object):
print 'graph_title Bank accounts' print 'graph_title Bank accounts'
print 'graph_vlabel balance' print 'graph_vlabel balance'
print 'graph_category weboob' print 'graph_category weboob'
print 'graph_args -l 0'
self.weboob.load_backends(ICapBank) self.weboob.load_backends(ICapBank)
for backend, account in self.weboob.do('iter_accounts'): for backend, account in self.weboob.do('iter_accounts'):
if self.monitored(account): if self.monitored(account):

View file

@ -216,7 +216,7 @@ class BaseApplication(object):
version = None version = None
if self.VERSION: if self.VERSION:
if self.COPYRIGHT: if self.COPYRIGHT:
version = '%s v%s (%s)' % (self.APPNAME, self.VERSION, self.COPYRIGHT) version = '%s v%s %s' % (self.APPNAME, self.VERSION, self.COPYRIGHT)
else: else:
version = '%s v%s' % (self.APPNAME, self.VERSION) version = '%s v%s' % (self.APPNAME, self.VERSION)
return version return version