fix missing import in misc.py
+import math
def recursive_update(obj, new): # hOlY FUCKING SHIT this is so big brained I AM A GOD
if isinstance(obj, dict):
for k, v in new.items():
- obj[k] = self.recursive_update(obj[k], v)
+ obj[k] = recursive_update(obj[k], v)
elif isinstance(obj, list):
for i, v in enumerate(new):
- obj[i] = self.recursive_update(obj[i], v)
+ obj[i] = recursive_update(obj[i], v)
else:
return new
