Update resol.py

added new byte to int conversion