BetaRavener / uPyLoader

File transfer and communication tool for MicroPython boards
MIT License
355 stars 76 forks source link

Python 3.10 float to int #85

Closed yellius closed 1 year ago

yellius commented 2 years ago

Hi,

In file_transfer_dialog.py I updated line 59 since automatic conversion from float to int is now an error (not a warning):

self.progressBar.setValue(int(self._transfer.progress * 100))

Reference: https://bugs.python.org/issue36048

Best regards, Jelle.

BetaRavener commented 1 year ago

Same as #87.