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): |