summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorbfox <bfox>2001-02-08 20:59:47 +0000
committerbfox <bfox>2001-02-08 20:59:47 +0000
commitb3f46596a848d1dd97e1a480f13083a962588fad (patch)
tree0adf1d7a297f1d5d0ba65bd505d2963ab4bba992 /textw
parent853aa870d902b374c2c42b0222a9ab2daf37454a (diff)
downloadanaconda-b3f46596a848d1dd97e1a480f13083a962588fad.tar.gz
anaconda-b3f46596a848d1dd97e1a480f13083a962588fad.tar.xz
anaconda-b3f46596a848d1dd97e1a480f13083a962588fad.zip
fixed result checking on LiloImagesWindow. Resolves bug #15653.
Diffstat (limited to 'textw')
-rw-r--r--textw/lilo_text.py2
1 files changed, 1 insertions, 1 deletions
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]