diff --git a/mopidy/utils/deps.py b/mopidy/utils/deps.py index 742536a5..8ed91c21 100644 --- a/mopidy/utils/deps.py +++ b/mopidy/utils/deps.py @@ -119,12 +119,12 @@ def gstreamer_info(): other.append(' Found:') for element in found_elements: other.append(' %s' % element) - else: + if not found_elements: other.append(' none') other.append(' Not found:') for element in missing_elements: other.append(' %s' % element) - else: + if not missing_elements: other.append(' none') return {