feat: modifiers support

This commit is contained in:
Swann
2019-07-15 22:25:20 +02:00
parent 2ba1c33377
commit b8f164adaa
4 changed files with 26 additions and 9 deletions

View File

@ -82,9 +82,11 @@ def get_replicated_types():
return tlist
def genereate_replicated_types(replicated_types):
def genererate_replicated_types():
rtypes.clear()
cfg = load_config()
replicated_types = cfg['replicated_types']
for t in ORDERED_TYPES:
if replicated_types[t]:
rtypes.append(t)