Skip to content

Commit 22944ef

Browse files
authored
Fix missing underscore in pretty_print check for Media _cabinet variable check (nightlark#66)
1 parent ab21c9e commit 22944ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pymsi/msi/media.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def pretty_print(self, indent: int = 0):
2525
print(" " * (indent + 2) + f"Last Sequence: {self.last_sequence}")
2626
if self.disk_prompt:
2727
print(" " * (indent + 2) + f"Disk Prompt: {self.disk_prompt}")
28-
if self.cabinet:
28+
if self._cabinet:
2929
print(" " * (indent + 2) + f"Cabinet: {self._cabinet}")
3030
if self.volume_label:
3131
print(" " * (indent + 2) + f"Volume Label: {self.volume_label}")

0 commit comments

Comments
 (0)