eric6/MicroPython/CircuitPythonDevices.py

changeset 7759
51aa6c6b66f7
parent 7597
9dac5ef0126d
child 7780
41420f82c0ac
equal deleted inserted replaced
7758:dd54d33d21d2 7759:51aa6c6b66f7
200 E5MessageBox.Ok)) 200 E5MessageBox.Ok))
201 if button == E5MessageBox.Ok: 201 if button == E5MessageBox.Ok:
202 from .CircuitPythonFirmwareSelectionDialog import ( 202 from .CircuitPythonFirmwareSelectionDialog import (
203 CircuitPythonFirmwareSelectionDialog) 203 CircuitPythonFirmwareSelectionDialog)
204 dlg = CircuitPythonFirmwareSelectionDialog() 204 dlg = CircuitPythonFirmwareSelectionDialog()
205 if dlg.exec_() == QDialog.Accepted: 205 if dlg.exec() == QDialog.Accepted:
206 cpyPath, devicePath = dlg.getData() 206 cpyPath, devicePath = dlg.getData()
207 shutil.copy2(cpyPath, devicePath) 207 shutil.copy2(cpyPath, devicePath)
208 208
209 @pyqtSlot() 209 @pyqtSlot()
210 def __installLibraryFiles(self): 210 def __installLibraryFiles(self):

eric ide

mercurial