src/eric7/MicroPython/Devices/CircuitPythonDevices.py

branch
mpy_network
changeset 9870
0399d3607829
parent 9868
467288cffee2
child 9881
5ce653f9dac8
--- a/src/eric7/MicroPython/Devices/CircuitPythonDevices.py	Fri Mar 10 18:04:52 2023 +0100
+++ b/src/eric7/MicroPython/Devices/CircuitPythonDevices.py	Fri Mar 10 18:09:24 2023 +0100
@@ -63,9 +63,7 @@
 
         self.__boardName = boardName
 
-        self.__workspace = (
-            self.__findWorkspace() if hasWorkspace else None
-        )
+        self.__workspace = self.__findWorkspace() if hasWorkspace else None
 
         self.__updater = CircuitPythonUpdaterInterface(self)
 
@@ -1378,6 +1376,7 @@
 
         @return flag indicating the availability of network time functions
         @rtype bool
+        @exception OSError raised to indicate an issue with the device
         """
         command = """
 def has_ntp():

eric ide

mercurial