1.1 --- a/tools/make_freebusy.py Tue Jan 31 16:06:40 2017 +0100
1.2 +++ b/tools/make_freebusy.py Tue Jan 31 16:18:55 2017 +0100
1.3 @@ -5,7 +5,7 @@
1.4 availability schedule or the schedule of another user (using details provided
1.5 when scheduling events with that user).
1.6
1.7 -Copyright (C) 2014, 2015, 2016 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2014, 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -34,7 +34,7 @@
1.13 sys.path.append(parent)
1.14
1.15 from codecs import getwriter
1.16 -from imiptools import config
1.17 +from imiptools.config import settings
1.18 from imiptools.client import Client
1.19 from imiptools.data import get_window_end, Object
1.20 from imiptools.dates import get_default_timezone, to_utc_datetime
1.21 @@ -266,7 +266,7 @@
1.22
1.23 getvalue = lambda value, default=None: value and value[0] or default
1.24
1.25 - store_type = getvalue(store_type, config.STORE_TYPE)
1.26 + store_type = getvalue(store_type, settings["STORE_TYPE"])
1.27 store_dir = getvalue(store_dir)
1.28 publishing_dir = getvalue(publishing_dir)
1.29 journal_dir = getvalue(journal_dir)