Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Fix create_meters.py implementation (#1321)
Browse files Browse the repository at this point in the history
Signed-off-by: Alyona Teyber <Ivanova.alyona5@gmail.com>
Signed-off-by: David P. Chassin <david.chassin@me.com>
  • Loading branch information
aivanova5 authored and dchassin committed Sep 22, 2023
1 parent 22cd001 commit 63b5bcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/create_meters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -293,4 +293,4 @@ def main(args):
},
}

main(arg)
main(arg)

0 comments on commit 63b5bcc

Please sign in to comment.