Skip to content

Commit

Permalink
Fix deprecation warning for collections
Browse files Browse the repository at this point in the history
  • Loading branch information
shepherdjay committed Oct 9, 2021
1 parent 06f3b5b commit 0c16814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flask_nav/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import collections
import collections.abc
from importlib import import_module
import re

Expand Down Expand Up @@ -46,7 +46,7 @@ class NavbarRenderingError(Exception):
pass


class ElementRegistry(collections.MutableMapping):
class ElementRegistry(collections.abc.MutableMapping):
def __init__(self):
self._elems = {}

Expand Down

0 comments on commit 0c16814

Please sign in to comment.