fix #1300: ImportError: cannot import name 'Iterable' from 'collections'

This commit is contained in:
debugtalk
2022-05-17 15:34:00 +08:00
parent eb76cf7c8f
commit bba4b27846
+3
View File
@@ -1,4 +1,7 @@
from base64 import b64encode from base64 import b64encode
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable from collections import Iterable
from jinja2 import escape from jinja2 import escape