From 6c06845ed5cdd1b22a266e402d7e0bdecbd7a011 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Mon, 17 Oct 2022 21:31:57 +0200 Subject: [PATCH] Drop the error on level tag in index file --- novelwriter/core/index.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/novelwriter/core/index.py b/novelwriter/core/index.py index 1332413c..24e38097 100644 --- a/novelwriter/core/index.py +++ b/novelwriter/core/index.py @@ -1022,10 +1022,6 @@ class IndexItem: def unpackData(self, data): """Unpack an item entry from the data. """ - if "level" in data: - # This value is now tracked as NWItem.mainHeading - raise ValueError("Outdated value found in index") - references = data.get("references", {}) for sTitle, hData in data.get("headings", {}).items(): if not isTitleTag(sTitle):