Skip to content

fromhexstring() needs integer division. #9

@Tom-E-Mason

Description

@Tom-E-Mason

Calling str(len(hexstring) / 4) in the second argument of format() causes an error as "Precision not allowed in integer format specifier" (VS error message). Float division returns a float value which format() can't use.

Possible fixes:

  • str(len(hexstring) // 4)
  • str(int(len(hexstring)) / 4)

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