mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-30 18:52:38 +02:00
add type hints (1st pass: non problematic cases)
This commit is contained in:
parent
d579a47a84
commit
665e4d54f7
1 changed files with 1 additions and 1 deletions
|
@ -611,7 +611,7 @@ class ConvertWidget(QtWidgets.QWidget):
|
||||||
self.convert_t.finished.connect(self.all_done)
|
self.convert_t.finished.connect(self.all_done)
|
||||||
self.convert_t.start()
|
self.convert_t.start()
|
||||||
|
|
||||||
def update(self, error, text, percentage) -> None:
|
def update(self, error: bool, text: str, percentage: int) -> None:
|
||||||
if error:
|
if error:
|
||||||
self.error = True
|
self.error = True
|
||||||
self.error_image.show()
|
self.error_image.show()
|
||||||
|
|
Loading…
Reference in a new issue