Jan-19-2017, 12:33 AM
Can you provide enough code to reproduce the problem? You can reply the devices by curling Google or something. Also, I just noticed that the code you've posted passes a float to range() which is not valid. Don't take this personally, but oftentimes people post code that isn't terribly related to their problem, and it really helps us to get real runnable code. Otherwise it can be very difficult to help.