aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/etree_loader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/markdown/etree_loader.py b/markdown/etree_loader.py
index 64966b5..e1edcc3 100644
--- a/markdown/etree_loader.py
+++ b/markdown/etree_loader.py
@@ -23,8 +23,8 @@ def importETree():
message(CRITICAL, "Failed to import ElementTree")
sys.exit(1)
if etree_in_c:
- if etree_in_c.VERSION < "1.0":
- message(CRITICAL, "cElementTree version 1.0 or higher is required.")
+ if etree_in_c.VERSION < "1.0.5":
+ message(CRITICAL, "cElementTree version 1.0.5 or higher is required.")
sys.exit(1)
# Third party serializers (including ours) test with non-c Comment
etree_in_c.test_comment = Comment