Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
fix ADB.install command
Browse files Browse the repository at this point in the history
  • Loading branch information
maticrivo committed Jun 9, 2015
1 parent 744a2b5 commit 01486e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magneto/utils/adb.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def uninstall(cls, package_name):
@classmethod
def install(cls, apk_path, extra_params='', retry=True):
Logger.debug('Installing app {}'.format(apk_path))
p = cls.exec_cmd('install {} {}'.format('', apk_path), stdout=subprocess.PIPE)
p = cls.exec_cmd('install {} {}'.format(extra_params, apk_path), stdout=subprocess.PIPE)
result = p.communicate()[0].strip().split('\r\n')[-1]

if result == 'Success':
Expand Down

0 comments on commit 01486e4

Please sign in to comment.