Small bug fix regarding msd state

This commit is contained in:
2026-05-20 11:05:08 +02:00
parent d7fd608037
commit 9ab9df76f6
+1 -4
View File
@@ -290,10 +290,7 @@ class Msd:
if self.require_valid:
raise MsdException(f"Given msd '{self.codecode}' is '{self.state.name}', but expected state is '{self.expected_state.name}'.")
else:
if self.state == self.State.UNKNOWN:
print(f"[WARN] The Msd '{self.code}' is unknown.")
else:
print(f"[WARN] The Msd '{self.code}' is unknown for expected state '{self.expected_state.name}'.")
print(f"[WARN] The Msd '{self.code}' is unknown for expected state '{self.expected_state.name}'.")
return max(states)
def __str__(self):