Skip to content

Commit

Permalink
Fix error unexpected type 'float' on python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
RCristiano authored and srevinsaju committed Nov 30, 2021
1 parent 32035f9 commit 8d5c105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guiscrcpy/launcher.py
Expand Up @@ -811,7 +811,7 @@ def __dial_change_cb(self):
self.bitrateText.setText(str(self.config["bitrate"]) + "KB/s")

def progress(self, val):
self.progressBar.setValue(val)
self.progressBar.setValue(int(val))
if (val + 4) >= 100:
return 100
else:
Expand Down

0 comments on commit 8d5c105

Please sign in to comment.