diff --git a/novelwriter/core/tokenizer.py b/novelwriter/core/tokenizer.py index 7c9ba6d9..ca21250d 100644 --- a/novelwriter/core/tokenizer.py +++ b/novelwriter/core/tokenizer.py @@ -34,11 +34,11 @@ from pathlib import Path from functools import partial from PyQt5.QtCore import QCoreApplication, QRegularExpression -from novelwriter.core.index import processComment from novelwriter.enum import nwComment, nwItemLayout from novelwriter.common import formatTimeStamp, numberToRoman, checkInt from novelwriter.constants import nwHeadFmt, nwRegEx, nwShortcode, nwUnicode +from novelwriter.core.index import processComment from novelwriter.core.project import NWProject logger = logging.getLogger(__name__) diff --git a/tests/test_core/test_core_toodt.py b/tests/test_core/test_core_toodt.py index 5648e656..3ab402e1 100644 --- a/tests/test_core/test_core_toodt.py +++ b/tests/test_core/test_core_toodt.py @@ -25,11 +25,11 @@ import zipfile import xml.etree.ElementTree as ET from shutil import copyfile -from novelwriter.constants import nwHeadFmt from tools import ODT_IGNORE, cmpFiles from novelwriter.common import xmlIndent +from novelwriter.constants import nwHeadFmt from novelwriter.core.toodt import ToOdt, ODTParagraphStyle, ODTTextStyle, XMLParagraph, _mkTag from novelwriter.core.project import NWProject