Skip to content

Commit 068a219

Browse files
committed
dtmilano#148: UnboundLocalError: local variable 'currentFocus' referenced before assignment
1 parent 52fc872 commit 068a219

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/com/dtmilano/android/adb/adbclient.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
@author: Diego Torres Milano
1818
'''
1919

20-
__version__ = '10.6.0'
20+
__version__ = '10.6.2'
2121

2222
import sys
2323
import warnings
@@ -898,6 +898,8 @@ def getWindows(self):
898898
(_nd('x'), _nd('y'), _nd('w'), _nd('h'), _nd('vx'), _nd('vy'), _nd('vx1'), _nd('vy1')))
899899
policyVisibilityRE = re.compile('mPolicyVisibility=%s ' % _ns('policyVisibility', greedy=True))
900900

901+
currentFocus = None
902+
901903
for l in range(len(lines)):
902904
m = widRE.search(lines[l])
903905
if m:

0 commit comments

Comments
 (0)