From 9bbb16156652cd215740627c0fa0451d5f68841e Mon Sep 17 00:00:00 2001 From: Zenahr Barzani Date: Mon, 16 Nov 2020 12:21:56 +0100 Subject: [PATCH] Fix AttributeError AttributeError: 'function' object has no attribute 'prompt' --- examples/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/list.py b/examples/list.py index 696c4c1..08e63e4 100644 --- a/examples/list.py +++ b/examples/list.py @@ -51,5 +51,5 @@ def get_delivery_options(answers): }, ] -answers = prompt.prompt(questions, style=custom_style_2) +answers = prompt(questions, style=custom_style_2) pprint(answers)