Update index.py

This commit is contained in:
Mr Chen
2024-05-05 19:50:42 +08:00
parent 728677c702
commit 8c652c99da
+6
View File
@@ -1058,6 +1058,12 @@ def replInit():
t = {}
t['_id'] = x
t['host'] = n['host']
if 'priority' in n:
t['priority'] = n['priority']
if 'arbiterOnly' in n and n['arbiterOnly'] == 1:
t['arbiterOnly'] = True
cfg_node.append(t)
# print(cfg_node)