From b3f46596a848d1dd97e1a480f13083a962588fad Mon Sep 17 00:00:00 2001 From: bfox Date: Thu, 8 Feb 2001 20:59:47 +0000 Subject: fixed result checking on LiloImagesWindow. Resolves bug #15653. --- textw/lilo_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'textw') diff --git a/textw/lilo_text.py b/textw/lilo_text.py index 628201297..10c456ee6 100644 --- a/textw/lilo_text.py +++ b/textw/lilo_text.py @@ -228,7 +228,7 @@ class LiloImagesWindow: if (buttons.buttonPressed(result)): result = buttons.buttonPressed(result) - if (result == string.lower(_("Edit")) or result == listbox): + if (result == "edit" or result == listbox): item = listbox.current() (label, type) = images[item] -- cgit