From 88565d01a6e28e41f5fee9047d8cd3e77657f13f Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Thu, 30 Aug 2012 09:56:12 +0200 Subject: [PATCH] Don't assume file not found on OSError exception --- svtplay-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svtplay-dl b/svtplay-dl index e72fb9e..eb8cbed 100755 --- a/svtplay-dl +++ b/svtplay-dl @@ -134,7 +134,7 @@ def download_rtmp(options, url, output, live, extra_args, resume): try: subprocess.call(command) except OSError as e: - logging.error("Can't find rtmpdump. You need to install that") + logging.error("Could not execute rtmpdump: " + e.strerror) def select_quality(options, streams): sort = sorted(streams.keys(), key=int)