From e49ec19550b639543cbaec16eb8c36b971b3653d Mon Sep 17 00:00:00 2001 From: mlichvar Date: Thu, 12 Oct 2006 07:47:55 +0000 Subject: [PATCH] - fix crash in EntryWindow when prompts is list of tuples (patch from debian) --- snack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/snack.py b/snack.py index ff6d8d4..2fa0caa 100644 --- a/snack.py +++ b/snack.py @@ -789,6 +789,7 @@ def EntryWindow(screen, title, text, prompts, allowCancel = 1, width = 40, for n in prompts: if (type(n) == types.TupleType): (n, e) = n + e = Entry(entryWidth, e) else: e = Entry(entryWidth) -- 2.47.2