Skip to content

Commit

Permalink
int division explicit for py3, found by lutz shpi
Browse files Browse the repository at this point in the history
  • Loading branch information
paddywwoof committed Feb 4, 2021
1 parent e188f7c commit 51b0657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pi3d/event/FindDevices.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from .Constants import *

def test_bit(nlst, b):
index = b / 32
index = b // 32
bit = b % 32
if len(nlst) <= index:
return False
Expand Down

0 comments on commit 51b0657

Please sign in to comment.