awkman / pywifi

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

network_profiles() accessing dict as callable, fix #60

Open anton-veretenenko opened 4 years ago

anton-veretenenko commented 4 years ago

fix for calling to interface.network_profiles() causing exception:

pywifi/_wifiutil_linux.py", line 239, in network_profiles
    network.cipher = cipher_str_to_value(ciphers[0].upper())
TypeError: 'dict' object is not callable