Python3 compatibility fix Signed-off-by: ormorph <roma251078@mail.ru>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>