From 94059738be088bc34b2796ce19bd96fbcf89bb8c Mon Sep 17 00:00:00 2001 From: Ev-1 <33662061+Ev-1@users.noreply.github.com> Date: Sun, 29 May 2022 11:52:46 +0200 Subject: [PATCH] Update requerements and add python 3.10 support --- cogs/utils/dict_utils.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/utils/dict_utils.py b/cogs/utils/dict_utils.py index eab05c4..a8ba624 100644 --- a/cogs/utils/dict_utils.py +++ b/cogs/utils/dict_utils.py @@ -11,7 +11,7 @@ def flatten(d, parent_key='', sep='/'): items = [] for k, v in d.items(): new_key = parent_key + sep + k if parent_key else k - if isinstance(v, collections.MutableMapping): + if isinstance(v, collections.abc.MutableMapping): items.extend(flatten(v, new_key, sep=sep).items()) else: items.append((new_key, v)) diff --git a/requirements.txt b/requirements.txt index 1705c7f..f9ef2f5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ discord.py == 1.7.* -git+https://github.com/Devoxin/Lavalink.py@dev +lavalink asyncio pyyaml BeautifulSoup4