mirror of
https://github.com/markqvist/LXMF-Tools.git
synced 2025-05-18 05:50:26 -04:00
Fixed members count issue
This commit is contained in:
parent
d5e0d5449a
commit
c1c06aaa4e
2 changed files with 30 additions and 3 deletions
|
@ -2607,7 +2607,7 @@ def replace(text, source_hash, source_name, source_right, lng_key):
|
|||
|
||||
if delimiter+"count_members"+delimiter in text:
|
||||
count = 0
|
||||
for (section) in CONFIG.items("rights"):
|
||||
for (section, section_val) in CONFIG.items("rights"):
|
||||
if DATA.has_section(section):
|
||||
for (key, val) in DATA.items(section):
|
||||
count += 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue