Cast slots to `int` before range set

drop_pydantic
Tyler Goodlet 2022-07-07 21:08:46 -04:00
parent 2baea21c7d
commit f9bdd643cf
1 changed files with 1 additions and 1 deletions

View File

@ -619,7 +619,7 @@ class FillStatusBar(QProgressBar):
# color: #19232D; # color: #19232D;
# width: 10px; # width: 10px;
self.setRange(0, slots) self.setRange(0, int(slots))
self.setValue(value) self.setValue(value)