tools/mpy-tool.py: Fix missing argument in dump() function

This makes the -d commandline argument usable again.
Pass empty string as parent name as listing starts from the root.
This commit is contained in:
stijn 2017-08-16 10:37:00 +02:00
parent 9404093606
commit e4ab404780
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ class RawCode:
def dump(self):
# dump children first
for rc in self.raw_codes:
rc.freeze()
rc.freeze('')
# TODO
def freeze(self, parent_name):