More clearly denote the error if there's no COMPLVL lump.

This commit is contained in:
yrriban 2026-08-02 22:48:56 -04:00
parent b3f21a6174
commit d322fc8e57

View file

@ -22,7 +22,7 @@ class Configure(doomcc.doom_base.Wad):
wad = omg.WadIO(w)
complevel = wad.read("COMPLVL").decode("ascii").strip()
except Exception as e:
print(f"Wad {w} likely has no lump COMPLVL (exception {e})")
print(f"Wad {w} likely has no lump COMPLVL (exception {e=})")
if complevel is None:
complevel = input("Complevel? ")