From 70ce4c65a51ed34767c132c279c60ee07ef2ac40 Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Wed, 25 Oct 2023 11:14:22 +0100 Subject: [PATCH] make hierarchical counters row specific --- jinjafx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jinjafx.py b/jinjafx.py index 3101dfc..625027d 100755 --- a/jinjafx.py +++ b/jinjafx.py @@ -31,7 +31,7 @@ from cryptography.hazmat.primitives.ciphers.modes import CTR from cryptography.exceptions import InvalidSignature -__version__ = '1.18.1' +__version__ = '1.18.2' __all__ = ['JinjaFx', 'Vault'] @@ -1167,7 +1167,7 @@ def __jfx_counter(self, key=None, increment=1, start=1): key = '_cnt_r_' + str(self.__g_row) elif str(key).endswith('.') and self.__g_hcounter.match(key): - nkey = '_cnt_hk' + nkey = '_cnt_hk' + str(self.__g_row) kelements = key[:-1].lower().split('.') for i, v in enumerate(kelements[:-1]):