trouble using extcmd/jaden.py and extcmd/dong.py on Windows
jnmtx opened this issue · comments
I had trouble using extcmd/jaden.py and extcmd/dong.py on Windows and had to change:
jadenlist = json.load(open("wisdom/jaden.json"))
to
jadenlist = json.load(open("wisdom/jaden.json", 'r', encoding='utf-8'))
and:
dongerlist = json.load(open("wisdom/dongers.json"))
to:
dongerlist = json.load(open("wisdom/dongers.json", 'r', encoding='utf-8'))
otherwise the Unicode characters would cause the files to fail to load
excuse.py didn't have that problem b/c no unicode
Verified fix by checking out and running on Windows 7 64-bit. Worked.