Tests: Address deprecation warning in config.py

This commit is contained in:
Mike Salvatore 2021-07-19 12:41:35 -04:00
parent 41cf0f07c3
commit 845c9d9ac3
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ class ConfigService:
parent_config_arr = config_arr
config_arr = config_arr[config_key_part]
if isinstance(config_arr, collections.Sequence) and not isinstance(config_arr, str):
if isinstance(config_arr, collections.abc.Sequence) and not isinstance(config_arr, str):
for i in range(len(config_arr)):
# Check if array of shh key pairs and then decrypt
if isinstance(config_arr[i], dict) and "public_key" in config_arr[i]: