diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jwebmail/__init__.py | 4 | ||||
-rw-r--r-- | src/jwebmail/model/__init__.py | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jwebmail/__init__.py b/src/jwebmail/__init__.py index b7fd03f..ba0b6af 100644 --- a/src/jwebmail/__init__.py +++ b/src/jwebmail/__init__.py @@ -41,12 +41,12 @@ def validate_config(app): assert "@" in conf["JWEBMAIL"]["ADMIN_MAIL"] assert os_path.isdir(conf["JWEBMAIL"]["READ_MAILS"]["MAILBOX"]) - assert os_path.isfile(conf["JWEBMAIL"]["READ_MAILS"]["BACKEND"]) + assert os_path.abspath(conf["JWEBMAIL"]["READ_MAILS"]["BACKEND"]) assert pwd.getpwnam( conf["JWEBMAIL"]["READ_MAILS"].setdefault("MAILBOX_USER", environ["USER"]) ) - assert os_path.isfile( + assert os_path.abspath( conf["JWEBMAIL"]["READ_MAILS"].setdefault("AUTHENTICATOR", "qmail-authuser") ) diff --git a/src/jwebmail/model/__init__.py b/src/jwebmail/model/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/jwebmail/model/__init__.py |