fix
This commit is contained in:
parent
b5c94a506d
commit
445210dba8
@ -73,7 +73,7 @@ class vmenuManager():
|
|||||||
if self.currIndex == None:
|
if self.currIndex == None:
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
r = self.getValueByPath(self.menuDict, self.currIndex +[0]):
|
r = self.getValueByPath(self.menuDict, self.currIndex +[0])
|
||||||
if not r:
|
if not r:
|
||||||
return
|
return
|
||||||
if not isinstance(r, dict):
|
if not isinstance(r, dict):
|
||||||
@ -126,7 +126,7 @@ class vmenuManager():
|
|||||||
for i in path:
|
for i in path:
|
||||||
d = d[list(d.keys())[i]]
|
d = d[list(d.keys())[i]]
|
||||||
return d
|
return d
|
||||||
''''
|
'''
|
||||||
import os
|
import os
|
||||||
level = [0]
|
level = [0]
|
||||||
|
|
||||||
@ -172,4 +172,4 @@ c = [0,0,0]
|
|||||||
getKeysByPath(v,c)
|
getKeysByPath(v,c)
|
||||||
getValueByPath(v,c)
|
getValueByPath(v,c)
|
||||||
|
|
||||||
''''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user