fix rounding error causing CPU hog

time.sleep accepts a floating point variable to indicate a more precise sleep times. Without the fix the default sleep time would be rounded down to 0.
Merge pull request #15 from simonz05/patch-1

fix rounding error causing CPU hog