Rename ConversionJob back to DangerzoneConverter

Co-authored-by: deeplow <47065258+deeplow@users.noreply.github.com>
This commit is contained in:
Guthrie McAfee Armstrong 2022-07-07 10:37:00 -04:00 committed by deeplow
parent 5a4bf99211
commit 2533eac4be
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -52,7 +52,7 @@ def run_command(
raise TimeoutError(timeout_message) from e
class ConversionJob(object):
class DangerzoneConverter:
def __init__(self) -> None:
self.percentage: float = 0.0 # TODO Optional[float], but this default value will be overwritten immediately
@ -369,7 +369,7 @@ def main() -> int:
print(f"Usage: {sys.argv[0]} [document-to-pixels]|[pixels-to-pdf]")
return -1
job = ConversionJob()
converter = DangerzoneConverter()
if sys.argv[1] == "document-to-pixels":
try: