Compare commits

...

2 commits

2 changed files with 2 additions and 2 deletions

View file

@ -86,7 +86,7 @@ class Text(doomcc.doom_base.WadMap):
map_names = self._config.get("map_names") map_names = self._config.get("map_names")
if map_names is not None: if map_names is not None:
text = map_names.get(f"map{mapnum}") text = map_names.get(f"map{mapnum}")
if text != "": if text is not None:
return text return text
return input("Map Name? ") return input("Map Name? ")

View file

@ -5,7 +5,7 @@ description = "Doom Command Center"
authors = [ authors = [
{name = "yrriban",email = "yrriban@gmail.com"} {name = "yrriban",email = "yrriban@gmail.com"}
] ]
license = {text = "MIT"} license = "MIT"
readme = "README.md" readme = "README.md"
requires-python = ">=3.12" requires-python = ">=3.12"
dependencies = [ dependencies = [