Changeset 7784


Ignore:
Timestamp:
Jul 20, 2018, 9:44:29 AM (15 months ago)
Author:
hectorgh
Message:

seems there could be a thread checking clients that are no longer in the list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • n4d/trunk/fuentes/install-files/usr/share/n4d/python-plugins/VariablesManager.py

    r7783 r7784  
    224224                try:
    225225                        c.get_methods()
    226                         self.variables_clients[mac]["last_check"]=time.time()
    227                         self.variables_clients[mac]["missed_pings"]=0
     226                        if mac in self.variables_clients:
     227                                self.variables_clients[mac]["last_check"]=time.time()
     228                                self.variables_clients[mac]["missed_pings"]=0
    228229                except:
    229230                        if mac in self.variables_clients:
Note: See TracChangeset for help on using the changeset viewer.