Browse Source

[FIX] mail_environment: bool type fix

(lp:c2c-addons/6.1  rev 17)
pull/78/head
Guewen Baconnier @ Camptocamp 13 years ago
parent
commit
505adce39d
  1. 6
      mail_environment/env_mail.py

6
mail_environment/env_mail.py

@ -90,9 +90,9 @@ class FetchmailServer(osv.osv):
global_section_name = 'incoming_mail'
key_types = {'port': int,
'is_ssl': bool,
'attach': bool,
'original': bool,}
'is_ssl': lambda a: bool(int(a)),
'attach': lambda a: bool(int(a)),
'original': lambda a: bool(int(a)),}
# default vals
config_vals = {'port': 993,

Loading…
Cancel
Save