Skip to content

Commit 864c8c7

Browse files
committed
Fix variable reference
1 parent 6ef5e3a commit 864c8c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake-init/cmake_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def prompt(msg, default, mapper=None, predicate=not_empty, header=None, no_promp
6969
try:
7070
print(msg.format(default), end=": ")
7171
in_value = ("" if no_prompt else input()) or default
72-
value = mapper(value) if mapper is not None else in_value
72+
value = mapper(in_value) if mapper is not None else in_value
7373
if predicate(value):
7474
print()
7575
return value

0 commit comments

Comments
 (0)