Skip to content

Commit

Permalink
Update convoKitMeta.py
Browse files Browse the repository at this point in the history
Fix the error that arises when using deprecated `from collections import MutableMapping`.
  • Loading branch information
khonzoda authored Jan 17, 2022
1 parent 63cde18 commit 4cc7ff2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion convokit/model/convoKitMeta.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from collections import MutableMapping
try:
from collections.abc import MutableMapping
except:
from collections import MutableMapping
from convokit.util import warn
from .convoKitIndex import ConvoKitIndex
import json
Expand Down

0 comments on commit 4cc7ff2

Please sign in to comment.