mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +02:00
parent
8d37ff15e0
commit
e08b6defc3
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class IsolationProvider(ABC):
|
||||||
def print_progress_trusted(
|
def print_progress_trusted(
|
||||||
self, document: Document, error: bool, text: str, percentage: float
|
self, document: Document, error: bool, text: str, percentage: float
|
||||||
) -> None:
|
) -> None:
|
||||||
return self._print_progress(document, error, text, percentage)
|
return self._print_progress(document, error, text, int(percentage))
|
||||||
|
|
||||||
def print_progress(
|
def print_progress(
|
||||||
self, document: Document, error: bool, untrusted_text: str, percentage: float
|
self, document: Document, error: bool, untrusted_text: str, percentage: float
|
||||||
|
|
Loading…
Reference in a new issue