mirror of
https://github.com/vale981/ablog
synced 2025-03-05 09:11:38 -05:00
Fixed import error.
This commit is contained in:
parent
91c989a3af
commit
fdd3d08c4f
1 changed files with 4 additions and 1 deletions
|
@ -88,7 +88,10 @@ def revise_pending_xrefs(doctree, docname):
|
|||
for node in doctree.traverse(addnodes.pending_xref):
|
||||
node['refdoc'] = docname
|
||||
|
||||
from collections.abc import Container
|
||||
try:
|
||||
from collections.abc import Container
|
||||
except ImportError:
|
||||
from collections import Container
|
||||
|
||||
|
||||
def link_posts(posts):
|
||||
|
|
Loading…
Add table
Reference in a new issue