andreasgrill / auto-selfcontrol

Small utility to schedule start and stop times of SelfControl
MIT License
305 stars 37 forks source link

Fix issue #52 #53

Closed gcohara closed 4 years ago

gcohara commented 4 years ago

Adds a line to run the SelfControl helper with --checkup. This should clear the block if it's finished, so that check_if_running returns the correct result. Should solve issue #52

gcohara commented 4 years ago

This doesn't work! The problem is that the SelfControl returns an exit code of 70, which throws an exception in the auto-selfcontrol Python script. Fix incoming...