tallforasmurf / CHIP8IDE

An interactive development and emulation environment for the CHIP8/SCHIP system
30 stars 1 forks source link

possible encoding exception assembler 1 #27

Closed tallforasmurf closed 7 years ago

tallforasmurf commented 7 years ago

in assembler1.py around 695, could the bytes(encoding='ASCII') cause an exception? Or have we already eliminated non-ascii string characters?. Maybe needs a try/except?

tallforasmurf commented 7 years ago

This is not a problem, the expression is evaluated inside a try/except and the error properly reported