Skip to content

Commit b1335e9

Browse files
Artur TanistraArtur Tanistra
authored andcommitted
Fix start_activity for Python 3.x
1 parent 3217b73 commit b1335e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appium/webdriver/webdriver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def start_activity(self, app_package, app_activity, **opts):
550550
'stop_app_on_reset': 'stopAppOnReset'
551551
}
552552
for key, value in arguments.items():
553-
if opts.has_key(key):
553+
if key in opts:
554554
data[value] = opts[key]
555555
self.execute(Command.START_ACTIVITY, data)
556556
return self

0 commit comments

Comments
 (0)