misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
b539a76124
commit
2430b4a134
@ -134,7 +134,10 @@ class LastSession(object):
|
|||||||
'channel': 1,
|
'channel': 1,
|
||||||
'rssi': int(rssi),
|
'rssi': int(rssi),
|
||||||
'identity': pubkey,
|
'identity': pubkey,
|
||||||
'advertisement':{'pwnd_tot': int(pwnd_tot)}})
|
'advertisement':{
|
||||||
|
'name': name,
|
||||||
|
'pwnd_tot': int(pwnd_tot)
|
||||||
|
}})
|
||||||
self.peers += 1
|
self.peers += 1
|
||||||
cache[pubkey] = self.last_peer
|
cache[pubkey] = self.last_peer
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user