Thu, 18 Feb 2021 17:21:12 +0100
MicroPython: fixed some small bugs and typos.
eric6/MicroPython/AddEditDevicesDialog.py | file | annotate | diff | comparison | revisions | |
eric6/MicroPython/GenericMicroPythonDevices.py | file | annotate | diff | comparison | revisions |
--- a/eric6/MicroPython/AddEditDevicesDialog.py Wed Feb 17 17:51:42 2021 +0100 +++ b/eric6/MicroPython/AddEditDevicesDialog.py Thu Feb 18 17:21:12 2021 +0100 @@ -90,7 +90,7 @@ Private slot to report the entered data to the eric-bugs email address. """ body = "\r\n".join([ - "This is an unknow MicroPython device. Please add it.", + "This is an unknown MicroPython device. Please add it.", "", "VID: {0}".format(self.vidEdit.text()), "PID: {0}".format(self.pidEdit.text()),
--- a/eric6/MicroPython/GenericMicroPythonDevices.py Wed Feb 17 17:51:42 2021 +0100 +++ b/eric6/MicroPython/GenericMicroPythonDevices.py Thu Feb 18 17:21:12 2021 +0100 @@ -53,7 +53,8 @@ self.__directAccess = bool(deviceData["data_volume"]) self.__deviceName = deviceData["description"] - self.__workspace = self.__findWorkspace() + if self.__directAccess: + self.__workspace = self.__findWorkspace() def setButtons(self): """ @@ -178,7 +179,7 @@ @rtype str """ # Attempts to find the path on the filesystem that represents the - # plugged in PyBoard board. + # plugged in board. deviceDirectories = Utilities.findVolume(self.__deviceVolumeName, findAll=True)