sy6sy2 / xbmc

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS and Windows.
https://kodi.tv/
Other
6 stars 1 forks source link

migrate launch image generation script to Python 3 #82

Open kambala-decapitator opened 4 years ago

kambala-decapitator commented 4 years ago

python3 -m py_compile GenerateMissingImages-tvos.py didn't show anything, so it seems that the script is valid in py3 as well. Not sure if we should enforce python3 in the first line though.

Also checked code on http://pep8online.com/, it gave some warnings, although not sure if it's worth fixing:

E401:1:11:multiple imports on one line E302:7:1:expected 2 blank lines, found 1 E501:17:80:line too long (90 > 79 characters) E501:18:80:line too long (80 > 79 characters) E501:19:80:line too long (184 > 79 characters) E501:23:80:line too long (87 > 79 characters) E501:27:80:line too long (119 > 79 characters)