Changed byte to int

Changed byte to int to work with Python compatible class.