From 729532713ff374be5ce126570ac8bde7dbeed64a Mon Sep 17 00:00:00 2001 From: Nicolas Hennion Date: Mon, 20 Oct 2025 13:21:18 +0000 Subject: [PATCH] Quick and dirty patch for discussion - Last dev build broke Homepage API calls ? only 1 widget still working #3322 --- glances/outputs/glances_restful_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glances/outputs/glances_restful_api.py b/glances/outputs/glances_restful_api.py index c60a6317..2f6df017 100644 --- a/glances/outputs/glances_restful_api.py +++ b/glances/outputs/glances_restful_api.py @@ -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)