More clearly denote the error if there's no COMPLVL lump.
This commit is contained in:
parent
b3f21a6174
commit
d322fc8e57
1 changed files with 1 additions and 1 deletions
|
|
@ -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? ")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue