Fix datasync consumer setting save logic
This commit is contained in:
parent
fd2b290fd0
commit
90cb25446b
|
@ -286,7 +286,7 @@ class DataSyncThreadView(MasterView):
|
|||
if consumer['enabled']:
|
||||
consumers.append(ckey)
|
||||
settings.extend([
|
||||
{'name': 'rattail.datasync.{}.consumer.spec.{}'.format(pkey, ckey),
|
||||
{'name': f'rattail.datasync.{pkey}.consumer.{ckey}.spec',
|
||||
'value': consumer['consumer_spec']},
|
||||
{'name': 'rattail.datasync.{}.consumer.{}.db'.format(pkey, ckey),
|
||||
'value': consumer['consumer_dbkey']},
|
||||
|
|
Loading…
Reference in a new issue