Skip to content

Commit 8139b41

Browse files
committed
remove redundant command_executor check
1 parent 72b2e42 commit 8139b41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

appium/webdriver/webdriver.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,7 @@ def __init__(
244244
client_config=client_config,
245245
)
246246

247-
if hasattr(self, 'command_executor'):
248-
self._add_commands()
247+
self._add_commands()
249248

250249
self.error_handler = MobileErrorHandler()
251250

0 commit comments

Comments
 (0)