src/eric7/MicroPython/WifiDialogs/WifiController.py

branch
eric7
changeset 10230
1311cd5d117e
parent 10153
ffe7432f716b
child 10439
21c28b0f9e41
equal deleted inserted replaced
10229:e50bbf250343 10230:1311cd5d117e
410 Private slot to synchronize the device clock to network time. 410 Private slot to synchronize the device clock to network time.
411 """ 411 """
412 from ..NtpParametersDialog import NtpParametersDialog 412 from ..NtpParametersDialog import NtpParametersDialog
413 413
414 device = self.__mpy.getDevice() 414 device = self.__mpy.getDevice()
415 if not device.getDeviceData("ntp"): 415 if not device.hasNetworkTime():
416 if device.hasCircuitPython(): 416 if device.hasCircuitPython():
417 EricMessageBox.warning( 417 EricMessageBox.warning(
418 None, 418 None,
419 self.tr("Set Network Time"), 419 self.tr("Set Network Time"),
420 self.tr( 420 self.tr(

eric ide

mercurial