mirror of https://github.com/yt-dlp/yt-dlp
Fix utils.py for PyPy on Windows
The line ```python from __future__ import unicode_literals ``` introduced in commit [pull/8/headecc0c5ee01
](ecc0c5ee01
) broke youtube-dl for PyPy on Windows, making it unable to locate WinAPI functions. Error: "TypeError: function name must be a string or integer" Adding "b" prefix to strings with WinAPI function names fixes it.
parent
b82f815f37
commit
6ac4e8065a
Loading…
Reference in New Issue