From bab3b695f94a034bcab779ec1eb7824aaf731f9b Mon Sep 17 00:00:00 2001 From: Patrick Dulebohn Date: Thu, 29 Aug 2024 14:22:23 -0400 Subject: [PATCH] Fix External Page Export * Small fix to stop pages set to External from triggering the "invalid page" error. --- korman/exporter/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/exporter/convert.py b/korman/exporter/convert.py index c12627b..00ee332 100644 --- a/korman/exporter/convert.py +++ b/korman/exporter/convert.py @@ -213,7 +213,7 @@ class Exporter: if (default_enabled and not page) or (page in pages_enabled): 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) inc_progress() error.raise_if_error()