def create_creator(device):
    major = device.device_id.software_version / 100
    minor = 100 % device.device_id.software_version
    return E.Creator({"{http://www.w3.org/2001/XMLSchema-instance}type": "Device_t"},
                     E.Name("".join(device.device_id.description)),
                     E.UnitId(str(device.stream.device_id)),
                     E.ProductID(str(device.device_id.product_id)),
                     E.Version(E.VersionMajor(str(major)),
                               E.VersionMinor(str(minor)),
                               E.BuildMajor("0"),
                               E.BuildMinor("0")))
dataset/ETHPy150Open braiden/python-ant-downloader/antd/tcx.py/create_creator/swapped operands of `%`