diff --git a/libbmc/config.py b/libbmc/config.py index c646762..1360639 100644 --- a/libbmc/config.py +++ b/libbmc/config.py @@ -82,6 +82,11 @@ class Config(): except (ValueError, IOError): tools.warning("Config file could not be read.") sys.exit(1) + try: + folder_exists = make_sure_path_exists(self.get("folder")) + except OSError: + tools.warning("Unable to create paper storage folder.") + sys.exit(1) self.load_masks() def save(self):