Skip to content

Commit

Permalink
Fix printing of Unknown block in text form
Browse files Browse the repository at this point in the history
  • Loading branch information
Matmaus committed Mar 12, 2024
1 parent ffb9dd7 commit 6db6618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LnkParse3/lnk_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ def nice_id(identifier):
for extra_key, extra_value in self.extras.as_dict().items():
cprint(f"{extra_key}", 2)
if extra_key == "UNKNOWN_BLOCK":
cprint("Block:", 3)
for list_value in extra_value:
cprint("Block:", 3)
for key, value in list_value.items():
cprint(f"{nice_id(key)}: {value}", 4)
else:
Expand Down

0 comments on commit 6db6618

Please sign in to comment.