mirror of
https://github.com/RGBCube/JsonWrapper
synced 2025-07-27 11:47:45 +00:00
Update db.py
This commit is contained in:
parent
b5fa0ec9e3
commit
4c5e71f9a4
1 changed files with 1 additions and 2 deletions
3
db.py
3
db.py
|
@ -20,8 +20,7 @@ class Utils:
|
|||
else:
|
||||
alt_dict[key] = {}
|
||||
return alt_dict
|
||||
main_dict_ref = main_dict
|
||||
i = 0
|
||||
main_dict_ref, i = main_dict, 0
|
||||
for dict_name in path.split("+"):
|
||||
i += 1
|
||||
main_dict = magic(main_dict, dict_name)[dict_name]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue