Remove unused variable
This commit is contained in:
@@ -695,7 +695,6 @@ def run(read_from=None,
|
|||||||
window_titles = []
|
window_titles = []
|
||||||
window_ids = []
|
window_ids = []
|
||||||
window_id = 0
|
window_id = 0
|
||||||
target_index = None
|
|
||||||
for i, window in enumerate(window_list):
|
for i, window in enumerate(window_list):
|
||||||
window_title = window.get(kCGWindowName, '')
|
window_title = window.get(kCGWindowName, '')
|
||||||
if psutil.Process(window['kCGWindowOwnerPID']).name() not in ('Terminal', 'iTerm2'):
|
if psutil.Process(window['kCGWindowOwnerPID']).name() not in ('Terminal', 'iTerm2'):
|
||||||
|
|||||||
Reference in New Issue
Block a user