1.1 --- a/tools/make_freebusy.py Tue Oct 17 17:43:42 2017 +0200
1.2 +++ b/tools/make_freebusy.py Tue Oct 17 22:58:26 2017 +0200
1.3 @@ -278,9 +278,9 @@
1.4
1.5 # Obtain store-related objects or delegate this to the Client initialiser.
1.6
1.7 - store = get_store(store_type, store_dir)
1.8 - publisher = get_publisher(publishing_dir)
1.9 - journal = get_journal(store_type, journal_dir)
1.10 + store = store_dir and get_store(store_type, store_dir) or None
1.11 + publisher = publishing_dir and get_publisher(publishing_dir) or None
1.12 + journal = journal_dir and get_journal(store_type, journal_dir) or None
1.13
1.14 # Determine which kind of object will be accessed.
1.15