Ensure Papers dir exist, see issue #27
This commit is contained in:
parent
82ed48a9e0
commit
3232fc68be
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user