Skip to content

Commit

Permalink
Fix issue epinna#104
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSysR3ll authored Jul 25, 2022
1 parent 616b0e5 commit a40583d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import itertools
import base64
import datetime
import collections
from collections.abc import Mapping
import threading
import time
import utils.config
Expand All @@ -18,8 +18,8 @@ def _recursive_update(d, u):
# Update value of a nested dictionary of varying depth

for k, v in u.items():
if isinstance(d, collections.Mapping):
if isinstance(v, collections.Mapping):
if isinstance(d, Mapping):
if isinstance(v, Mapping):
r = _recursive_update(d.get(k, {}), v)
d[k] = r
else:
Expand Down

0 comments on commit a40583d

Please sign in to comment.