1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

Merge pull request #10 from olof/fix/oserror_exception_message

Don't assume file not found on OSError exception
This commit is contained in:
Johan Andersson 2012-08-30 10:51:16 -07:00
commit efbcd7b35a

View File

@ -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)