From 77b0920dac4d15b6ba70405f63ba023f229be0ae Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 31 Aug 2018 01:35:12 +0000 Subject: [PATCH] Forgot to change this --- src/yunohost/diagnosis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/diagnosis.py b/src/yunohost/diagnosis.py index 805ac0b97..48e9977c1 100644 --- a/src/yunohost/diagnosis.py +++ b/src/yunohost/diagnosis.py @@ -139,7 +139,7 @@ class Diagnoser(): os.makedirs(DIAGNOSIS_CACHE) return write_to_json(self.cache_file, report) - def report(self): + def diagnose(self): if not self.args.get("force", False) and self.cached_time_ago() < self.cache_duration: self.logger_debug("Cache still valid : %s" % self.cache_file)