

def __init__(self, address, name=None, user=None, pswd=None):
    self.cam_type = self.get_type()
    self.address = address
    self.name = name
    self.cam_id = self.address.replace('.', '').replace(':', '')
    if name.name:
        self.name = name.replace(' ', '-')
    self.user = user
    self.pswd = pswd

dataset/ETHPy150Open eraclitux/ipcampy/ipcampy/common.py IpCam.__init__/VarMisuse@69/75 `self`->`name`