Skip to content

Commit e4ab404

Browse files
committed
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.
1 parent 9404093 commit e4ab404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/mpy-tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def _unpack_qstr(self, ip):
239239
def dump(self):
240240
# dump children first
241241
for rc in self.raw_codes:
242-
rc.freeze()
242+
rc.freeze('')
243243
# TODO
244244

245245
def freeze(self, parent_name):

0 commit comments

Comments
 (0)