fix error with breaking outer for loop

This commit is contained in:
smirgol 2023-06-27 16:40:43 +02:00
parent 13a64acfbd
commit 0c55738998
1 changed files with 2 additions and 2 deletions

View File

@ -212,12 +212,12 @@ class ProfileExecutor(threading.Thread):
flag = False
for w_command in w_commands:
parts = w_command['name'].split(',')
for part in parts:
if part.lower() == p_cmdName:
print(part)
flag = True
break
if flag == True:
break
if flag == False:
return