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:
commit
efbcd7b35a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user