Use input builtin to ask for the map name.
This commit is contained in:
parent
1632ef7bbc
commit
57fa261f90
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class Text(dcc.doom_base.WadMap):
|
||||||
if map_names is not None:
|
if map_names is not None:
|
||||||
text = map_names.get(f"map{parsed_args.map}")
|
text = map_names.get(f"map{parsed_args.map}")
|
||||||
if text is None:
|
if text is None:
|
||||||
text = sys.stdin.read().rstrip()
|
text = input("Map Name? ")
|
||||||
if not parsed_args.nomap:
|
if not parsed_args.nomap:
|
||||||
text = "MAP{}: {}".format(parsed_args.map, text)
|
text = "MAP{}: {}".format(parsed_args.map, text)
|
||||||
text = "{}\n{}".format(text, parsed_args.demotype)
|
text = "{}\n{}".format(text, parsed_args.demotype)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue