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

Update arrgb.py to work with Python2 and Python3. #10

Merged
merged 1 commit into from
Sep 7, 2021
Merged

Update arrgb.py to work with Python2 and Python3. #10

merged 1 commit into from
Sep 7, 2021

Conversation

dglaude
Copy link
Contributor

@dglaude dglaude commented Apr 4, 2021

This code was failing on Python3, with this change it works on both Python2 and Python3.

Traceback (most recent call last):
  File "arrgb.py", line 15, in <module>
    for x in range(half_way):
TypeError: 'float' object cannot be interpreted as an integer

This code was failing on Python3, with this change it works on both Python2 and Python3.

```
Traceback (most recent call last):
  File "arrgb.py", line 15, in <module>
    for x in range(half_way):
TypeError: 'float' object cannot be interpreted as an integer
```
@Gadgetoid Gadgetoid merged commit 55c74d4 into pimoroni:master Sep 7, 2021
@dglaude dglaude deleted the patch-1 branch September 8, 2021 18:42
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