andreasgrill / auto-selfcontrol

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

Two bugs with the new update. #50

Open defeatacpu opened 4 years ago

defeatacpu commented 4 years ago

Bug 1: Cannot run auto-selfcontrol when your current time is in the schedule. Lets say its weekday 3 and the time is 17:30, then this line in config.json would crash the program:

"weekday": 3,
            "start-hour": 17,
            "start-minute": 0,
            "end-hour": 9,
            "end-minute": 0

Bug 2: Multiple blacklists as seen in #14 don't work anymore. The program doesn't crash but self control doesn't activate on schedule.

Btw. thanks for the program! It has helped me a lot.

andreasgrill commented 4 years ago

Thanks for the feedback, I'll look into it.