From 71ee1b85aa83131ab782bf48d619a5ff8f68d413 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 20 Mar 2021 20:55:26 +0100 Subject: fix: sax contenthandler import path --- poezio/xhtml.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3