Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/home
diff options
context:
space:
mode:
Diffstat (limited to 'shell/view/home')
-rw-r--r--shell/view/home/MeshBox.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/shell/view/home/MeshBox.py b/shell/view/home/MeshBox.py
index 8d3bdf5..6ccb5c7 100644
--- a/shell/view/home/MeshBox.py
+++ b/shell/view/home/MeshBox.py
@@ -53,16 +53,6 @@ class AccessPointView(PulsingIcon):
self._device_stroke = stroke
self._device_fill = fill
- import sha
- sh = sha.new()
- data = self._model.props.name + hex(self._model.props.capabilities) + \
- hex(self._model.props.mode)
- sh.update(data)
- h = hash(sh.digest())
- idx = h % len(xocolor._colors)
- self._device_stroke = xocolor._colors[idx][0]
- self._device_fill = xocolor._colors[idx][1]
-
self._update_icon()
self._update_name()
self._update_state()