Description: Fix wrong argument type for count, casts Float to Int if var is not none Author: Josue Ortega Last-Update: 2019-09-06 --- a/bip32gen +++ b/bip32gen @@ -16,6 +16,8 @@ with f: if count is not None: n = count*2 if is_hex else count + if n != None: + n = int(n) data = f.read(n) else: data = f.read()