Skip to content

Commit

Permalink
6 weeks in advance, per request on [[User talk:Theopolisme]]
Browse files Browse the repository at this point in the history
  • Loading branch information
theopolisme committed Jul 1, 2013
1 parent 03a5fd1 commit c5d75b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tafi_scheduler.py
Expand Up @@ -233,4 +233,5 @@ def update_schedule(self):
site = mwclient.Site('en.wikipedia.org')
site.login(password.username, password.password)

scheduler = TAFIScheduler()
for i in range(1,7): #The scheduler will run for 6 weeks in advance
scheduler = TAFIScheduler(week=datetime.datetime.now().isocalendar()[1]+i)

0 comments on commit c5d75b5

Please sign in to comment.