summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvuko <vuko@hackerspace.pl>2020-10-24 01:43:26 +0200
committervuko <vuko@hackerspace.pl>2020-10-24 01:43:26 +0200
commit91d06be5dfe3827bb8f781863db878959f807e48 (patch)
treec5745d7b4eb194dcf46009115c535ef1a1d325fb
parent01aaf4b80b106d9adfa0a6a2a39c012109dfb578 (diff)
downloadcheckinator-91d06be5dfe3827bb8f781863db878959f807e48.tar.gz
checkinator-91d06be5dfe3827bb8f781863db878959f807e48.tar.bz2
checkinator-91d06be5dfe3827bb8f781863db878959f807e48.zip
fix changed set bug
-rw-r--r--at/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/at/web.py b/at/web.py
index 4a3d298..e758390 100644
--- a/at/web.py
+++ b/at/web.py
@@ -131,7 +131,7 @@ def app(instance_path, devices_api, config):
for name, prefixes in app.config['SPECIAL_DEVICES'].items():
result[name] = set()
prefixes = tuple(prefixes) # startswith accepts tuple as argument
- for hwaddr in unknown:
+ for hwaddr in list(unknown):
if hwaddr.startswith(prefixes):
result[name].add(hwaddr)
unknown.discard(hwaddr)