attempt fix on recursive_update
@@ -84,15 +84,14 @@ class Owner(commands.Cog):
if isinstance(obj, dict):
for k, v in new.items():
obj[k] = self.recursive_update(obj[k], v)
- print(obj[k])
elif isinstance(obj, list):
for i, v in enumerate(new):
obj[i] = self.recursive_update(obj[i], v)
- print(obj[i])
else:
- print(new)
return new
+ return obj
+
@commands.command(name='update')
@commands.is_owner()
async def update(self, ctx, thing):
