Closed eclecticmiraclecat closed 6 years ago
really sorry sir, i understand now but i'm getting this error though
ValueError: invalid literal for int() with base 10: b'0.58499997854233'
Weird, the version of python I'm using isn't throwing those errors at all. However, making the change to float doesn't hurt so I'll merge this change. Thanks.
Values < 0 will always be error codes so int cast is correct as we provide error codes in integer format only.