Skip to content

Instantly share code, notes, and snippets.

@dizzi
Created January 18, 2010 14:00
Show Gist options
  • Select an option

  • Save dizzi/280028 to your computer and use it in GitHub Desktop.

Select an option

Save dizzi/280028 to your computer and use it in GitHub Desktop.
while(checkDate.weekday()==5 or checkDate.weekday()==6 or checkDate in self.holidays):
checkDate=checkDate+datetime.timedelta(days=1)
fuse=fuse+1
if(fuse>10):
self.wfile.write("Error, fuse broken")
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment