eric6/MicroPython/PyBoardDevices.py

changeset 8067
a467ab075be0
parent 8062
8dc5acb30a8b
child 8081
e0087e542717
--- a/eric6/MicroPython/PyBoardDevices.py	Thu Feb 04 14:35:50 2021 +0100
+++ b/eric6/MicroPython/PyBoardDevices.py	Thu Feb 04 14:38:01 2021 +0100
@@ -162,7 +162,7 @@
     
     def __findWorkspace(self, silent=False):
         """
-        Public method to find the workspace directory.
+        Private method to find the workspace directory.
         
         @param silent flag indicating silent operations
         @type bool
@@ -172,7 +172,7 @@
         # Attempts to find the path on the filesystem that represents the
         # plugged in PyBoard board.
         deviceDirectories = Utilities.findVolume(self.DeviceVolumeName,
-                                                 all=True)
+                                                 findAll=True)
         
         if deviceDirectories:
             if len(deviceDirectories) == 1:
@@ -186,11 +186,12 @@
                 E5MessageBox.warning(
                     self.microPython,
                     self.tr("Workspace Directory"),
-                    self.tr("Python files for PyBoard devices are stored"
-                            " on the device. Therefore, to edit these files"
-                            " you need to have the device plugged in. Until"
-                            " you plug in a device, the standard directory"
-                            " will be used."))
+                    self.tr("Python files for PyBoard can be edited in"
+                            " place, if the device volume is locally"
+                            " available. Such a volume was not found. In"
+                            " place editing will not be available."
+                            )
+                )
             
             return super(PyBoardDevice, self).getWorkspace()
     

eric ide

mercurial