Browse Source

Fix External Page Export

* Small fix to stop pages set to External from triggering the "invalid page" error.
pull/422/head
Patrick Dulebohn 3 months ago
parent
commit
bab3b695f9
  1. 2
      korman/exporter/convert.py

2
korman/exporter/convert.py

@ -213,7 +213,7 @@ class Exporter:
if (default_enabled and not page) or (page in pages_enabled): if (default_enabled and not page) or (page in pages_enabled):
self._objects.append(obj) self._objects.append(obj)
elif page not in all_pages or page in external_pages: elif page not in all_pages or page not in external_pages:
error.add(page, obj.name) error.add(page, obj.name)
inc_progress() inc_progress()
error.raise_if_error() error.raise_if_error()

Loading…
Cancel
Save