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

修改部分参数类型 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

zsy1011
Copy link

@zsy1011 zsy1011 commented Jan 5, 2018

实测会产生jumpLength结果为0和presstime不为整数的情况,导致adb命令出错。因此对参数类型做了点修正。

本次 PR 主要做的事情:

  • x

修改后最高分数:x

实测会产生jumpLength结果为0和presstime不为整数的情况,导致adb命令出错。因此对参数类型做了点修正。
@Erimus-Koo
Copy link
Owner

不太懂,是不是python2和3的问题啊?
我是python3,round不加参数就是int型的,pil给的w也是int。
然后py2的/是地板除,py3的/就是出float的,地板除变成//了。

@Erimus-Koo
Copy link
Owner

Erimus-Koo commented Jan 7, 2018 via email

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

Successfully merging this pull request may close these issues.

2 participants