1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-30 15:14:14 +01:00

get_one_media: .message does not work with python3

This commit is contained in:
Johan Andersson 2015-09-10 21:39:51 +02:00
parent f7323a0072
commit 595f482a48

View File

@ -220,7 +220,7 @@ def get_one_media(stream, options):
except UIException as e:
if options.verbose:
raise e
log.error(e.message)
log.error(e)
sys.exit(2)
if options.thumbnail and hasattr(stream, "get_thumbnail"):