1
Fork 0
mirror of https://github.com/RGBCube/JsonWrapper synced 2025-07-27 19:57:44 +00:00

Update db.py

This commit is contained in:
RGBCube 2022-01-15 16:28:34 +03:00 committed by GitHub
parent b5fa0ec9e3
commit 4c5e71f9a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
db.py
View file

@ -20,8 +20,7 @@ class Utils:
else: else:
alt_dict[key] = {} alt_dict[key] = {}
return alt_dict return alt_dict
main_dict_ref = main_dict main_dict_ref, i = main_dict, 0
i = 0
for dict_name in path.split("+"): for dict_name in path.split("+"):
i += 1 i += 1
main_dict = magic(main_dict, dict_name)[dict_name] main_dict = magic(main_dict, dict_name)[dict_name]