From c1db0c314d966cce43d8aaf3a0b4bca3be218c21 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Thu, 26 Sep 2013 16:32:28 +0800 Subject: [PATCH] Scripts not running due to instance properties not reloaded --- lib/moodle.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/moodle.py b/lib/moodle.py index e502917..ffe726a 100644 --- a/lib/moodle.py +++ b/lib/moodle.py @@ -367,6 +367,8 @@ class Moodle(object): def isInstalled(self): """Returns whether this instance is installed or not""" + # Reload the configuration if necessary. + self._load() return self.installed == True @staticmethod -- 2.11.0