summaryrefslogtreecommitdiffstats
path: root/wallace
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-11-06 19:40:12 -0500
committerThomas Bruederli <bruederli@kolabsys.com>2014-11-06 19:40:12 -0500
commit91f3f3b74fe106893582c87838a9fb25b0721aa6 (patch)
treee0037c10dc8618be00ec45e7ce538cee099a1353 /wallace
parentbabaec0a07db0bd8f3f26019c93376308c0b47e4 (diff)
downloadpykolab-91f3f3b74fe106893582c87838a9fb25b0721aa6.tar.gz
Add wallace.resource_calendar_expire_days to config defaults
Diffstat (limited to 'wallace')
-rw-r--r--wallace/module_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wallace/module_resources.py b/wallace/module_resources.py
index 89b5544..0b4d811 100644
--- a/wallace/module_resources.py
+++ b/wallace/module_resources.py
@@ -442,7 +442,7 @@ def expunge_resource_calendar(mailbox):
"""
global imap
- days = int(conf.get('wallace', 'resource_calendar_expire_days', 100))
+ days = int(conf.get('wallace', 'resource_calendar_expire_days'))
now = datetime.datetime.now(tzlocal())
expire_date = now - datetime.timedelta(days=days)