Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APM类里调用devicesCheck时,参数名与定义不一致,导致报错 #138

Closed
wangkangreg opened this issue Apr 4, 2023 · 0 comments

Comments

@wangkangreg
Copy link

apm.py中__init__方法中调用devicesCheck时参数名与方法定义不一致,导致报错
image

Traceback (most recent call last):
apm = APM(pkgName='com.haokan.pictorial',deviceId='f42c133',platform='Android', surfaceview=True)
File "D:\dev\python\Python39\lib\site-packages\solox\public\apm.py", line 336, in init
d.devicesCheck(pf=self.platform, id=self.deviceId, pkg=self.pkgName)
TypeError: Devices.devicesCheck() got an unexpected keyword argument 'pf'

修改成与定义一致后,可以正常运行
d.devicesCheck(platform=self.platform, deviceid=self.deviceId, pkgname=self.pkgName)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant