Skip to content

SId integer number bug #3

@amanu95-manny

Description

@amanu95-manny

During my first test with generating spi_epg binary encoded, i notice that my data service id is 0xe1c000d4.
This cause an exception on line 217 on file ini on spi folder because my id is bigger than sys.maxint.

To fix this i replace line from :
if not isinstance(sid, int) : raise ValueError("SId must be an integer")
to:
if not isinstance(sid, int) and not isinstance(sid, long) : raise ValueError("SId must be an integer")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions