Fix misleading error message

This commit is contained in:
Stefan Hacker
2011-04-16 05:25:59 +02:00
parent 9119356227
commit c888717eb8

View File

@@ -398,7 +398,7 @@ class MumoManager(Worker):
if not names:
# If no names are given load all modules that have a configuration in the cfg_dir
if not os.path.isdir(self.cfg.modules.cfg_dir):
msg = "Module directory '%s' not found" % self.cfg.modules.mod_dir
msg = "Module configuration directory '%s' not found" % self.cfg.modules.cfg_dir
self.log().error(msg)
raise FailedLoadModuleImportException(msg)