def main():
    logger=Logging(max_level=Logging.DEBUG)
    request=SetFirmwareRequest(logger=logger)
    
    #write out the request to a file so we can easily analyze what we sent.
    logger.LOG_DEBUG("Writing request to request.bin for analysis.")
    open("./request.bin","wb").write(str(request))
    logger.LOG_DEBUG("Done.")

    logger.LOG_INFO(HOST % "Sending special UPnP request to host: %s")
    special_upnp_send(HOST,5000,str(request))
    logger.LOG_INFO("Done.")
dataset/ETHPy150Open zcutlip/broken_abandoned/part_2/setfirmware.py/main/swapped operands of `%`