Fix option --pass-pol in python3

error due to :
	python2 => 1 / 2 = 0
	python3 => 1 / 2 = 0.5
	python3 => 1 // 2 = 0
main
mpgn 2019-11-12 13:33:14 -05:00
parent 179dfef811
commit 38acbbead5
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ def d2b(a):
tbin = []
while a:
tbin.append(a % 2)
a /= 2
a //= 2
t2bin = tbin[::-1]
if len(t2bin) != 8:

@ -1 +1 @@
Subproject commit 2dcf64854b5d111b5ee34b891f7a6480569ab993
Subproject commit 2156da6431b278bc60f22cf4b66bd671f7d0a0fe