From: Frederic Massart Date: Thu, 26 Sep 2013 08:32:28 +0000 (+0800) Subject: Scripts not running due to instance properties not reloaded X-Git-Tag: v0.5~12 X-Git-Url: https://git.cameron1729.xyz/?a=commitdiff_plain;h=c1db0c314d966cce43d8aaf3a0b4bca3be218c21;p=mdk.git Scripts not running due to instance properties not reloaded --- 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