fix *cough*

This commit is contained in:
Andreas Preikschat 2013-04-02 19:42:01 +02:00
parent 7f111b31a7
commit ffb2350f62

View File

@ -244,7 +244,7 @@ def get_images_filter():
global IMAGES_FILTER
if not IMAGES_FILTER:
log.debug(u'Generating images filter.')
formats == QtGui.QImageReader.supportedImageFormats()
formats = QtGui.QImageReader.supportedImageFormats()
visible_formats = u'(*.%s)' % u'; *.'.join(formats)
actual_formats = u'(*.%s)' % u' *.'.join(formats)
IMAGES_FILTER = u'%s %s %s' % (translate('OpenLP', 'Image Files'), visible_formats, actual_formats)