Update container/dangerzone.py

Co-authored-by: deeplow <47065258+deeplow@users.noreply.github.com>
This commit is contained in:
Guthrie McAfee Armstrong 2022-09-21 10:29:37 -04:00 committed by deeplow
parent 3ef8b183e2
commit 6b44db9043
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -132,7 +132,7 @@ class DangerzoneConverter:
# Validate MIME type # Validate MIME type
if mime_type not in conversions: if mime_type not in conversions:
raise ValueError(f"Document format ${mime_type} is not supported") raise ValueError(f"The document format is not supported")
# Convert input document to PDF # Convert input document to PDF
conversion = conversions[mime_type] conversion = conversions[mime_type]