mirror of https://github.com/nicolargo/glances.git
Quick and dirty patch for discussion - Last dev build broke Homepage API calls ? only 1 widget still working #3322
This commit is contained in:
parent
2b1d6f4309
commit
729532713f
|
|
@ -186,7 +186,7 @@ class GlancesRestfulApi:
|
|||
|
||||
def __update_stats(self, plugins_list_to_update=None):
|
||||
# Never update more than 1 time per cached_time
|
||||
if self.timer.finished():
|
||||
if self.timer.finished() or plugins_list_to_update:
|
||||
self.stats.update(plugins_list_to_update=plugins_list_to_update)
|
||||
self.timer = Timer(self.args.cached_time)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue