diff --git a/lib/svtplay_dl/utils/stream.py b/lib/svtplay_dl/utils/stream.py index 8252cda..058c129 100644 --- a/lib/svtplay_dl/utils/stream.py +++ b/lib/svtplay_dl/utils/stream.py @@ -151,9 +151,7 @@ def select_quality(config, streams): # If none remains, the bitrate filtering was too tight. if len(wanted) == 0: - data = sort_quality(streams) - quality = ", ".join(f"{str(x)} ({str(y)})" for x, y in data) - raise error.UIException("Can't find that quality. Try one of: %s (or " "try --flexible-quality)" % quality) + raise error.UIException("Can't find that quality. Try a different one listed in --list-quality or try --flexible-quality") http = HTTP(config) # Test if the wanted stream is available. If not try with the second best and so on.