Fix DB engine config references
This commit is contained in:
parent
149f5be052
commit
35cdebbf18
|
@ -122,11 +122,11 @@ class CoreOfficeMasterView(CoreMasterView):
|
||||||
|
|
||||||
def get_db_engines(self):
|
def get_db_engines(self):
|
||||||
engines = OrderedDict()
|
engines = OrderedDict()
|
||||||
if self.rattail_config.core_office_engine:
|
if self.rattail_config.core_office_op_engine:
|
||||||
engines['default'] = self.rattail_config.core_office_engine
|
engines['default'] = self.rattail_config.core_office_op_engine
|
||||||
for dbkey in self.rattail_config.core_office_engines:
|
for dbkey in self.rattail_config.core_office_op_engines:
|
||||||
if dbkey != 'default':
|
if dbkey != 'default':
|
||||||
engines[dbkey] = self.rattail_config.core_office_engines[dbkey]
|
engines[dbkey] = self.rattail_config.core_office_op_engines[dbkey]
|
||||||
return engines
|
return engines
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in a new issue