summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-20 20:55:26 +0100
committermathieui <mathieui@mathieui.net>2021-04-02 17:44:36 +0200
commit71ee1b85aa83131ab782bf48d619a5ff8f68d413 (patch)
tree5d44ae8dada295078660c85dfceb11363ea03492
parent14c09ce1cdbf6dc114a5a7acc085431c3430865e (diff)
downloadpoezio-71ee1b85aa83131ab782bf48d619a5ff8f68d413.tar.gz
poezio-71ee1b85aa83131ab782bf48d619a5ff8f68d413.tar.bz2
poezio-71ee1b85aa83131ab782bf48d619a5ff8f68d413.tar.xz
poezio-71ee1b85aa83131ab782bf48d619a5ff8f68d413.zip
fix: sax contenthandler import path
-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