mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-30 18:52:38 +02:00
Update container/dangerzone.py
Co-authored-by: deeplow <47065258+deeplow@users.noreply.github.com>
This commit is contained in:
parent
3ef8b183e2
commit
6b44db9043
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue