From 90cb25446bf323da97de6220be70f9972386b156 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 1 Jun 2023 11:37:26 -0500 Subject: [PATCH] Fix datasync consumer setting save logic --- tailbone/views/datasync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailbone/views/datasync.py b/tailbone/views/datasync.py index 3a691218..ac0fec52 100644 --- a/tailbone/views/datasync.py +++ b/tailbone/views/datasync.py @@ -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']},