aidanrwt / twitch-plays

Twitch IRC bot that takes input from the chat and presses the corresponding key.
MIT License
275 stars 59 forks source link

Make Python 3 compatible #1

Closed JamieMagee closed 8 years ago

JamieMagee commented 10 years ago

Just thought I'd make an attempt at making the code Python 3 compatible (3.3.3 on my machine)

aidanrwt commented 10 years ago

Tested the code on Python 2.7.5 and it wouldn't run. I'm new to the concept of Git (and programming in general), should I create a new branch and pull it to there?

JamieMagee commented 10 years ago

Whoops, I changed bytes() to .encode() and tested it in Python 2.7.6. It works on my machine now.