1.1 --- a/imip_store.py Sat Jul 25 01:17:39 2015 +0200
1.2 +++ b/imip_store.py Sat Jul 25 18:18:20 2015 +0200
1.3 @@ -34,8 +34,8 @@
1.4
1.5 "A file store of tabular free/busy data and objects."
1.6
1.7 - def __init__(self, store_dir=STORE_DIR):
1.8 - FileBase.__init__(self, store_dir)
1.9 + def __init__(self, store_dir=None):
1.10 + FileBase.__init__(self, store_dir or STORE_DIR)
1.11
1.12 def acquire_lock(self, user, timeout=None):
1.13 FileBase.acquire_lock(self, timeout, user)
1.14 @@ -499,8 +499,8 @@
1.15
1.16 "A publisher of objects."
1.17
1.18 - def __init__(self, store_dir=PUBLISH_DIR):
1.19 - FileBase.__init__(self, store_dir)
1.20 + def __init__(self, store_dir=None):
1.21 + FileBase.__init__(self, store_dir or PUBLISH_DIR)
1.22
1.23 def set_freebusy(self, user, freebusy):
1.24