1.1 --- a/imiptools/stores/database/postgresql.py Mon Jan 30 23:23:30 2017 +0100
1.2 +++ b/imiptools/stores/database/postgresql.py Mon Jan 30 23:28:11 2017 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 A PostgreSQL database store of calendar data.
1.6
1.7 -Copyright (C) 2016 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 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 @@ -19,10 +19,13 @@
1.13 this program. If not, see <http://www.gnu.org/licenses/>.
1.14 """
1.15
1.16 -from imiptools.config import STORE_DIR, JOURNAL_DIR
1.17 +from imiptools.config import settings
1.18 from imiptools.stores.database.common import DatabaseStore, DatabaseJournal
1.19 import psycopg2
1.20
1.21 +STORE_DIR = settings["STORE_DIR"]
1.22 +JOURNAL_DIR = settings["JOURNAL_DIR"]
1.23 +
1.24 class Store(DatabaseStore):
1.25
1.26 "A PostgreSQL database store of calendar objects and free/busy data."