awkman / pywifi

A cross-platform module for manipulating WiFi devices.
MIT License
453 stars 154 forks source link

Doubled results #70

Open MomboteQ opened 2 years ago

MomboteQ commented 2 years ago

I have this code:

import pywifi
import time

iface = pywifi.PyWiFi().interfaces()[0]
iface.scan()
time.sleep(10)
profiles = iface.scan_results()
print([profile.ssid for profile in profiles])

and have this result

['Q60_2492', 'HUAWEI-B525-2ACC', 'Q60_2492', 'HUAWEI-B525-2ACC', 'PLAY Internet 4G LTE-4F17C2', 'HUAWEI-B525-5G-2ACC']

script printed doubled results (doubled only saved networks)