wakepy icon indicating copy to clipboard operation
wakepy copied to clipboard

Include `on_fail="warn"` in the examples of the README / docs?

Open fohrloop opened this issue 7 months ago • 0 comments

Not all people read all the documentation. Adding on_fail="warn" in the examples, like this:

from wakepy import keep

with keep.running(on_fail="warn"):
    # Do something that takes a long time. The system may start screensaver
    # / screenlock or blank the screen, but CPU will keep running.

would make people notice the on_fail action flag. That's also a good default for applications that are used on multiple platforms, and would probably prevent unnecessary issues and save everyone's time.

fohrloop avatar Jun 29 '24 18:06 fohrloop