summaryrefslogtreecommitdiff
path: root/poezio
diff options
context:
space:
mode:
Diffstat (limited to 'poezio')
-rw-r--r--poezio/xhtml.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/poezio/xhtml.py b/poezio/xhtml.py
index e886bb3d..29df520d 100644
--- a/poezio/xhtml.py
+++ b/poezio/xhtml.py
@@ -20,7 +20,8 @@ from pathlib import Path
from io import BytesIO
from xml import sax
-from xml.sax import saxutils, ContentHandler
+from xml.sax import saxutils
+from xml.sax.handler import ContentHandler
from typing import List, Dict, Optional, Union, Tuple
from slixmpp.xmlstream import ET