Skip to content

Commit

Permalink
Update crontab to 2.1.1 and resolve IO errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpierce committed Aug 5, 2016
1 parent d4c95ee commit 7acad1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Scheduler(object):
Operates both the scheduler and persisting the data
"""
def __init__(self):
self.cron = CronTab()
self.cron = CronTab(user=True)

def get_time_for_day(self, weekday):
"""
Expand Down
2 changes: 1 addition & 1 deletion script/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ python_libs=(
'flask-mako' # Flask integration for Mako
'uwsgi' # for serving the site
'Flask-BasicAuth' # for locking down the site
'python-crontab' # for accessing the crontab
'python-crontab==2.1.1' # for accessing the crontab
'RPi.GPIO' # for driving the GPIO pins on the Pi
)

Expand Down

0 comments on commit 7acad1d

Please sign in to comment.