X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=naja%2Fwidgets%2Finfo_area.py;h=7dbef1b70c226402303d15e3d4fdb553a029c066;hb=0d7c75c57d85f809aad2db5c740341e2c3db011c;hp=e5ee88c9e875160a4eed586c0e3610d0e5ce0aa3;hpb=873bfafe4856636d2ac3ca9dfed4d2992d03fdb5;p=naja.git diff --git a/naja/widgets/info_area.py b/naja/widgets/info_area.py index e5ee88c..7dbef1b 100644 --- a/naja/widgets/info_area.py +++ b/naja/widgets/info_area.py @@ -138,7 +138,7 @@ class InfoAreaWidget(Widget): [(x_offset, y_offset), (right, y_offset), (right, bottom), (x_offset, bottom)], 4) - if action.required_bits: + if action.required_bits in BIT_MAP: img_name = BIT_MAP[action.required_bits].replace( '.png', '_small.png') img = resources.get_image(img_name,