Print 'OK' or 'not found' instead of True/False

This commit is contained in:
Stein Magnus Jodal 2012-09-01 00:49:47 +02:00
parent a452c49bd3
commit f6cea72bf7

View File

@ -73,7 +73,7 @@ def gstreamer_info():
'.'.join(map(str, gst.get_pygst_version()))))
other.append('Relevant elements:')
for name, status in _gstreamer_check_elements():
other.append(' %s: %s' % (name, status))
other.append(' %s: %s' % (name, 'OK' if status else 'not found'))
return {
'name': 'Gstreamer',
'version': '.'.join(map(str, gst.get_gst_version())),