Fix deprecated implicit conversion from float to int using __int__()

This commit is contained in:
abdo 2021-03-31 00:32:20 +03:00
parent 42942a521e
commit d7aca8845f

View File

@ -608,7 +608,7 @@ body {{ zoom: {zoom}; background: {background}; direction: {lang_dir}; {font} }}
mw.progress.timer(1000, mw.reset, False)
return
self.setFixedHeight(qvar)
self.setFixedHeight(int(qvar))
def set_bridge_command(self, func: Callable[[str], Any], context: Any) -> None:
"""Set a handler for pycmd() messages received from Javascript.