mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 02:12:36 +02:00
simplify setting percentage to 0.0
This commit is contained in:
parent
9989ffea37
commit
1bd8354228
1 changed files with 1 additions and 2 deletions
|
@ -52,10 +52,9 @@ def run_command(
|
|||
|
||||
class DangerzoneConverter:
|
||||
def __init__(self) -> None:
|
||||
self.percentage: float = 0.0 # TODO Optional[float], but this default value will be overwritten immediately
|
||||
self.percentage: float = 0.0
|
||||
|
||||
def document_to_pixels(self) -> None:
|
||||
self.percentage: float = 0.0
|
||||
|
||||
conversions: Dict[str, Dict[str, Optional[str]]] = {
|
||||
# .pdf
|
||||
|
|
Loading…
Reference in a new issue