mirror of
https://github.com/aidygus/LinVAM.git
synced 2024-11-27 11:08:06 +11:00
fix error with breaking outer for loop
This commit is contained in:
parent
13a64acfbd
commit
0c55738998
@ -212,12 +212,12 @@ class ProfileExecutor(threading.Thread):
|
|||||||
flag = False
|
flag = False
|
||||||
for w_command in w_commands:
|
for w_command in w_commands:
|
||||||
parts = w_command['name'].split(',')
|
parts = w_command['name'].split(',')
|
||||||
|
|
||||||
for part in parts:
|
for part in parts:
|
||||||
if part.lower() == p_cmdName:
|
if part.lower() == p_cmdName:
|
||||||
print(part)
|
|
||||||
flag = True
|
flag = True
|
||||||
break
|
break
|
||||||
|
if flag == True:
|
||||||
|
break
|
||||||
|
|
||||||
if flag == False:
|
if flag == False:
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user