'get inactivity client from hostapd response'

def GetHostapdStatus(self, data):

    if (self.APclients != {}):
        if (data in self.APclients.keys()):
            self.PumpMonitorTAB.addRequests(data, self.APclients[data], False)
    for row in xrange(0, self.TabInfoAP.rowCount()):
        if (self.TabInfoAP.item(row, 1) != None):
            if (self.TabInfoAP.item(row, 1).text() == data):
                self.TabInfoAP.removeRow(row)
                if (data in self.APclients.keys()):
                    del self.APclients[data]
    for mac_tables in self.APclients.keys():
        self.APclients[mac_tables]['in_tables'] = False
    self.THeaders = OrderedDict([('Devices', []), ('Mac    Address', []), ('IP    Address', []), ('Vendors', [])])
    self.connectedCount.setText(str(len(self.APclients.keys())))
