Verified Commit 7f28890d authored by Martin Petráček's avatar Martin Petráček
Browse files

adapt to guest wifi changes once again

parent 7467959e
Pipeline #4418 passed with stage
in 32 seconds
......@@ -86,7 +86,7 @@ class MacAddrStore():
#it might be beneficial to wait for a while before looking up hostname, because some devices tries some IPv6 connections before asking DHCP for IPv4 address
time.sleep(5)
dhcp_info = self.__lookup_dhcp_leases(mac)
if device.startswith("guest_turris"):
if "guest_turris" in device:
text_cz = "Ve vaší síti pro hosty se objevilo nové zařízení (MAC adresa {}".format(mac)
text_en = "New device appeared on your guest network (MAC address {}".format(mac)
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment