Fix missing argument in time.sleep calls

It is unclear to me how the code worked before, if at all, since the argument is mandatory:

  https://docs.python.org/2/library/time.html#time.sleep