diff --git a/tools/create_meters.py b/tools/create_meters.py index e9c14b598..8c14a4828 100644 --- a/tools/create_meters.py +++ b/tools/create_meters.py @@ -145,7 +145,7 @@ def fix_parent(parent,name,oclass): if pclass and pclass == oclass.replace('load','node'): # change node to meter - nclass = pclass.replace('load','meter') + nclass = pclass.replace('node','meter') set_data(parent,'class',nclass) else: @@ -293,4 +293,4 @@ def main(args): }, } - main(arg) \ No newline at end of file + main(arg)