Skip to content

Commit 5ba7c08

Browse files
refactor
1 parent b19214b commit 5ba7c08

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Framework/Built_In_Automation/Desktop/Windows/BuiltInFunctions.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,11 +1241,6 @@ def _get_main_window(WindowName):
12411241
TreeScope.Children, Condition.TrueCondition
12421242
)
12431243

1244-
NewMainWindowsList = []
1245-
for i in MainWindowsList:
1246-
if i.Current.ProcessId in current_pid_list:
1247-
NewMainWindowsList.append(i)
1248-
12491244
found_windows = []
12501245
for MainWindowElement in MainWindowsList:
12511246
try:

0 commit comments

Comments
 (0)