1.1 --- a/imiptools/__init__.py Tue Oct 17 17:43:42 2017 +0200
1.2 +++ b/imiptools/__init__.py Tue Oct 17 22:58:26 2017 +0200
1.3 @@ -62,13 +62,22 @@
1.4 self.debug = False
1.5
1.6 def get_store(self):
1.7 - return get_store(self.store_type, self.store_dir)
1.8 +
1.9 + "Return any configured store or None if not explicitly configured."
1.10 +
1.11 + return self.store_dir and get_store(self.store_type, self.store_dir) or None
1.12
1.13 def get_publisher(self):
1.14 - return get_publisher(self.publishing_dir)
1.15 +
1.16 + "Return any configured publisher or None if not explicitly configured."
1.17 +
1.18 + return self.publishing_dir and get_publisher(self.publishing_dir) or None
1.19
1.20 def get_journal(self):
1.21 - return get_journal(self.store_type, self.journal_dir)
1.22 +
1.23 + "Return any configured journal or None if not explicitly configured."
1.24 +
1.25 + return self.journal_dir and get_journal(self.store_type, self.journal_dir) or None
1.26
1.27 def process(self, f, original_recipients):
1.28