diff --git a/src/imxml2django.py b/src/imxml2django.py index c19a7f9..446dd19 100755 --- a/src/imxml2django.py +++ b/src/imxml2django.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8; mode: python -*- -# Time-stamp: <2020-05-25 09:25:29 (kthoden)> +# Time-stamp: <2020-05-27 13:05:20 (kthoden)> """ Create an XML file that can be inserted into the Django database @@ -1755,6 +1755,8 @@ def bring_footnote_down_django(footnote, fragment, footnote_number, object_numbe if xmlReferenceLabelText in dictPagelabels: logging.debug("Found link to page: %s" % xmlReferenceLabelText) strResult = dictPagelabels[xmlReferenceLabelText] + else: + logging.warning("Page reference not fully implemented yet, see https://github.molgen.mpg.de/EditionOpenAccess/EOASkripts/issues/52") xmlReference.text = strResult for xmlChild in xmlReference.iterchildren(): xmlReference.remove(xmlChild)