mirror of
https://github.com/lgandx/Responder.git
synced 2025-12-06 04:31:30 +00:00
Fixing collections import issue for /tools/MultiRelay/odict.py
This commit is contained in:
@@ -3,7 +3,10 @@ try:
|
|||||||
from UserDict import DictMixin
|
from UserDict import DictMixin
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from collections import UserDict
|
from collections import UserDict
|
||||||
from collections import MutableMapping as DictMixin
|
try:
|
||||||
|
from collections import MutableMapping as DictMixin
|
||||||
|
except ImportError:
|
||||||
|
from collections.abc import MutableMapping as DictMixin
|
||||||
|
|
||||||
class OrderedDict(dict, DictMixin):
|
class OrderedDict(dict, DictMixin):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user