We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0808d3 commit 3e523f5Copy full SHA for 3e523f5
rdmo/core/pandoc.py
@@ -4,7 +4,6 @@
4
import re
5
from pathlib import Path
6
from tempfile import NamedTemporaryFile
7
-from typing import Optional
8
9
from django.apps import apps
10
from django.conf import settings
@@ -103,7 +102,7 @@ def get_pandoc_args(export_format, context):
103
102
return pandoc_args
104
105
106
-def get_pandoc_reference_document(export_format, context) -> Optional[Path]:
+def get_pandoc_reference_document(export_format, context):
107
# collect all configured reference documents
108
reference_documents = get_pandoc_reference_documents(export_format, context)
109
0 commit comments