X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=youtube_dl%2Futils.py;h=1737ac5f6d72a3d53d6454f8eac98bda5032e285;hb=dbfd06730c5e6e63c5ae447e507909031b5a7b9f;hp=9a2dd14390bec0d3f7a694be7d4fcc5f1803bec7;hpb=8e60dc7526596f456c0b5d7dc48daa6cae08ebb6;p=youtube-dl diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 9a2dd1439..1737ac5f6 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -1810,7 +1810,7 @@ def args_to_str(args): return ' '.join(shlex_quote(a) for a in args) -def error_to_str(err): +def error_to_compat_str(err): err_str = str(err) # On python 2 error byte string must be decoded with proper # encoding rather than ascii