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

This commit is contained in:
debugtalk
2022-05-17 15:23:00 +08:00
parent eb76cf7c8f
commit bba4b27846

View File

@@ -1,5 +1,8 @@
from base64 import b64encode
from collections import Iterable
try:
from collections.abc import Iterable
except ImportError:
from collections import Iterable
from jinja2 import escape
from requests.cookies import RequestsCookieJar