src/eric7/MicroPython/EthernetDialogs/EthernetController.py

branch
eric7
changeset 10230
1311cd5d117e
parent 10167
0a62a4bf749c
child 10439
21c28b0f9e41
diff -r e50bbf250343 -r 1311cd5d117e src/eric7/MicroPython/EthernetDialogs/EthernetController.py
--- a/src/eric7/MicroPython/EthernetDialogs/EthernetController.py	Fri Oct 06 15:52:33 2023 +0200
+++ b/src/eric7/MicroPython/EthernetDialogs/EthernetController.py	Fri Oct 06 17:57:36 2023 +0200
@@ -317,7 +317,7 @@
         from ..NtpParametersDialog import NtpParametersDialog
 
         device = self.__mpy.getDevice()
-        if not device.getDeviceData("ntp"):
+        if not device.hasNetworkTime():
             if device.hasCircuitPython():
                 if device.getDeviceData("ethernet"):
                     moduleName = "adafruit_wiznet5k"

eric ide

mercurial