diff options
Diffstat (limited to 'src/lib/Bcfg2')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugin/helpers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugin/helpers.py b/src/lib/Bcfg2/Server/Plugin/helpers.py index c6cd006ac..641e14f9b 100644 --- a/src/lib/Bcfg2/Server/Plugin/helpers.py +++ b/src/lib/Bcfg2/Server/Plugin/helpers.py @@ -155,7 +155,8 @@ class DatabaseBacked(Plugin): lock before writing, because it does not allow multiple threads to write.""" engine = \ - self.core.setup.cfp.get(*Bcfg2.Options.DB_ENGINE.cf, + self.core.setup.cfp.get(Bcfg2.Options.DB_ENGINE.cf[0], + Bcfg2.Options.DB_ENGINE.cf[1], default=Bcfg2.Options.DB_ENGINE.default) return engine == 'sqlite3' |