jeanphix/Ghost.py — pull request #146 by mpkuth (2014-01-28 18:54:51+00:00)
Title: ensure sleep and process_events are called at least once during a ghost sleep call

Previously, if ghost.sleep was called with a small (or 0) value it was possible to break out of the while loop during the first check without ever calling time.sleep or Ghost._app.processEvents