From 4c20e1903d928865a01ac316024fa33f8ab61255 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sun, 31 May 2015 12:04:54 -0500 Subject: [PATCH] fix conversion of ask/2 string --- src/ec_talk.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ec_talk.erl b/src/ec_talk.erl index 243f7b4..5e24f2c 100644 --- a/src/ec_talk.erl +++ b/src/ec_talk.erl @@ -83,7 +83,7 @@ ask(Prompt, boolean) -> ask(Prompt, number) -> ask_convert(Prompt, fun get_integer/1, number, none); ask(Prompt, string) -> - ask_convert(Prompt, fun get_integer/1, string, none). + ask_convert(Prompt, fun get_string/1, string, none). %% @doc Asks the user to respond to the prompt. Trys to return the %% value in the format specified by 'Type'.