def __init__(self, ip, dev_addr):
    self.url = (('http://' + ip) + '/i2c/')
    self.dev_addr = enforce_hex(dev_addr)
def __init__(self, ip, dev_addr):
    self.url = (('http://' + ip) + '/i2c/')
    self.dev_addr = enforce_hex(dev_addr)