Commit 8b058131 authored by Kasalehlia's avatar Kasalehlia

now with less fuckup

parent d2eda12f
......@@ -66,8 +66,6 @@ def alfred_server(config, alfred_channels,batadv_data):
mac = node['network']['mac']
else: #fuck you
mac = node['node_id']
mac = ':'.join([mac[i:i+2] for i in range(0,len(mac),2)])
if str(channel) not in alfred_channels:
alfred_channels[str(channel)] = {mac : node}
alfred_channels[str(channel)][mac]['time'] = int(time.time())
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment