diff --git a/doomcc/text.py b/doomcc/text.py index b8ee90a..421f37d 100644 --- a/doomcc/text.py +++ b/doomcc/text.py @@ -86,7 +86,7 @@ class Text(doomcc.doom_base.WadMap): map_names = self._config.get("map_names") if map_names is not None: text = map_names.get(f"map{mapnum}") - if text != "": + if text is not None: return text return input("Map Name? ") diff --git a/pyproject.toml b/pyproject.toml index d860b22..520742e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ description = "Doom Command Center" authors = [ {name = "yrriban",email = "yrriban@gmail.com"} ] -license = {text = "MIT"} +license = "MIT" readme = "README.md" requires-python = ">=3.12" dependencies = [