diff --git a/nw/convert/htmlfile.py b/nw/convert/htmlfile.py
index bfaf4542..0b175e77 100644
--- a/nw/convert/htmlfile.py
+++ b/nw/convert/htmlfile.py
@@ -15,6 +15,7 @@ import nw
from nw.convert.textfile import TextFile
from nw.convert.tohtml import ToHtml
+from nw.enum import nwAlert
logger = logging.getLogger(__name__)
diff --git a/nw/convert/markdownfile.py b/nw/convert/markdownfile.py
index ff1ba8bc..0f490d1e 100644
--- a/nw/convert/markdownfile.py
+++ b/nw/convert/markdownfile.py
@@ -15,6 +15,7 @@ import nw
from nw.convert.textfile import TextFile
from nw.convert.tomarkdown import ToMarkdown
+from nw.enum import nwAlert
logger = logging.getLogger(__name__)