use worst link quality

This commit is contained in:
Nils Schneider 2012-06-05 16:32:47 +02:00
parent 0d47d4c9f9
commit 0c74bf3224

View file

@ -34,7 +34,7 @@ class NodeDB:
for link in self._links:
if l == link[0]:
if link[1] != str(q):
link[1] += " / " + str(q)
link[1] = max(float(link[1]), float(q))
return
self._links.append([l,str(q)])