jaseg / python-mpv

Python interface to the awesome mpv media player
https://git.jaseg.de/python-mpv.git
Other
554 stars 69 forks source link

Fixed ynbool for python3 support #1

Closed u8sand closed 9 years ago

u8sand commented 9 years ago

Old version didn't seem to work with the not keyword: (not ynbool(False) == False) == True

jaseg commented 9 years ago

Thanks.

The __nonzero__ is not even necessary here since it's only used in python 2 and this thing is not supporting python 2 anyway.