src/eric7/MicroPython/Devices/EspDevices.py

branch
mpy_network
changeset 9870
0399d3607829
parent 9868
467288cffee2
child 9989
286c2a21f36f
diff -r fb2c71c1c7d7 -r 0399d3607829 src/eric7/MicroPython/Devices/EspDevices.py
--- a/src/eric7/MicroPython/Devices/EspDevices.py	Fri Mar 10 18:04:52 2023 +0100
+++ b/src/eric7/MicroPython/Devices/EspDevices.py	Fri Mar 10 18:09:24 2023 +0100
@@ -26,8 +26,8 @@
 
 from ..MicroPythonWidget import HAS_QTCHART
 from . import FirmwareGithubUrls
+from .CircuitPythonDevices import CircuitPythonDevice
 from .DeviceBase import BaseDevice
-from .CircuitPythonDevices import CircuitPythonDevice
 
 
 class EspDevice(BaseDevice):
@@ -375,7 +375,7 @@
         available firmware version.
         """
         if self.hasCircuitPython():
-            return self.__cpyDevice.showCircuitPythonVersions()
+            self.__cpyDevice.showCircuitPythonVersions()
 
         if self.microPython.isConnected():
             if self._deviceData["mpy_name"] == "micropython":
@@ -1362,6 +1362,7 @@
 
         @return flag indicating the availability of network time functions
         @rtype bool
+        @exception OSError raised to indicate an issue with the device
         """
         if self.hasCircuitPython():
             self.__createCpyDevice()

eric ide

mercurial