• Stefy Lanza (nextime / spora )'s avatar
    Fix UnboundLocalError for 'time' variable in WiFi scanning · c4afd571
    Stefy Lanza (nextime / spora ) authored
    - Removed local import of 'time' module in scan_wifi_networks method
    - The 'time' module is already imported at the top of the file
    - Local import was creating a variable that shadowed the imported module
    - This caused UnboundLocalError when trying to access time.sleep(2)
    - WiFi scanning should now work without variable scoping errors
    
    This resolves the 'cannot access local variable time where is not associated with a value' error
    that occurred during WiFi network scanning in the AutoInstaller GUI.
    c4afd571
Name
Last commit
Last update
..
README.md Loading commit data...
autoinstallergui.py Loading commit data...
build_autoinstaller_gui.py Loading commit data...
cleanup.sh Loading commit data...