Man I am always late to seeing these things... I think this is an issue with python 3, I think Python 2 doesn't have this problem, I think you can fix it by just changing line 154 to...
if (sha256(value.encode('utf-8')).hexdigest().upper() != hashes[key]):
I updated the gist as well...