diff options
author | Grom PE <i@grompe.org.ru> | 2014-12-06 20:15:41 +0700 |
---|---|---|
committer | Grom PE <i@grompe.org.ru> | 2014-12-06 20:15:41 +0700 |
commit | 6ac4e8065a506f92db919ff063cf4d2f00bc81f0 (patch) | |
tree | df1986421c7650303b2292660be0e85e49cff9e9 /youtube_dl/extractor/drtv.py | |
parent | b82f815f373818ba99ee43660e9255e8f4ecac62 (diff) |
Fix utils.py for PyPy on Windows
The line
```python
from __future__ import unicode_literals
```
introduced in commit [ecc0c5ee01f0e5bdd6af0c32cb5b4adcb2a2f78c](https://github.com/rg3/youtube-dl/commit/ecc0c5ee01f0e5bdd6af0c32cb5b4adcb2a2f78c) 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.
Diffstat (limited to 'youtube_dl/extractor/drtv.py')
0 files changed, 0 insertions, 0 deletions