• 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
autoinstaller_gui Loading commit data...
config Loading commit data...
BUILD_INSTRUCTIONS.md Loading commit data...
CHANGELOG.md Loading commit data...
ICON_INFO.md Loading commit data...
ISO_MODIFICATION_WORKFLOW.md Loading commit data...
MbetterClient Loading commit data...
MbetterClient_wrapper.sh Loading commit data...
README.md Loading commit data...
SWITCH_TO_SLIM.md Loading commit data...
SYS_UNMOUNT_ISSUE.md Loading commit data...
TODO.md Loading commit data...
USB_CREATOR_README.md Loading commit data...
apply_inittab_fix.sh Loading commit data...
build.sh Loading commit data...
build_usb_creator.py Loading commit data...
cleanup.sh Loading commit data...
create_usb.bat Loading commit data...
create_usb.sh Loading commit data...
customize_iso.sh Loading commit data...
extract_iso.sh Loading commit data...
fix_inittab_in_image.sh Loading commit data...
insert_openvpn.sh Loading commit data...
mbet.jpg Loading commit data...
rebuild_iso.sh Loading commit data...
requirements.txt Loading commit data...
set_root_password.sh Loading commit data...
setup_usb_creator.py Loading commit data...
usb_creator_gui.py Loading commit data...