src/eric7/Preferences/__init__.py

branch
mpy_network
changeset 9782
67414f28db68
parent 9779
8d3c7c991085
child 9789
d8e0ab86ddca
--- a/src/eric7/Preferences/__init__.py	Mon Feb 20 11:42:45 2023 +0100
+++ b/src/eric7/Preferences/__init__.py	Mon Feb 20 16:02:02 2023 +0100
@@ -1580,6 +1580,7 @@
         "WifiPassword": "",
         "WifiApName": "",
         "WifiApPassword": "",
+        "WifiApAuthMode": 4,  # WPA/WPA2
         "WifiCountry": "",
         # MicroPython URLs
         "MicroPythonDocuUrl": "https://docs.micropython.org/en/latest/",
@@ -3782,7 +3783,7 @@
     @param key the key of the value to get
     @return the requested MicroPython value
     """
-    if key in ("SerialTimeout", "ChartColorTheme"):
+    if key in ("SerialTimeout", "ChartColorTheme", "WifiApAuthMode"):
         return int(
             Prefs.settings.value("MicroPython/" + key, Prefs.microPythonDefaults[key])
         )

eric ide

mercurial