Infer configparser getter from field type

This commit is contained in:
Guewen Baconnier 2018-07-24 13:39:22 +02:00 committed by sebalix
parent 3b4e587045
commit b6f7cade68
1 changed files with 3 additions and 3 deletions

View File

@ -22,13 +22,13 @@ class FetchmailServer(models.Model):
"user": {}, "user": {},
"password": {}, "password": {},
"is_ssl": { "is_ssl": {
"getter": "getbool", "getter": "getboolean",
}, },
"attach": { "attach": {
"getter": "getbool", "getter": "getboolean",
}, },
"original": { "original": {
"getter": "getbool", "getter": "getboolean",
}, },
} }
mail_fields.update(base_fields) mail_fields.update(base_fields)