lucjon/Py-StackExchange — pull request #18 by alnorth29 (2012-07-04 07:16:14+00:00)
Title: Fix for window calculation when throttling

Here's another one for you :) As `now` will be after when the window started we need to subtract from `now` rather than `window`.

In case you're interested, I'm using the library to update the database for this - http://stackapps.com/questions/3520/stackdoc-adding-stack-overflow-data-to-online-documentation. That means I'm pulling down all the questions that have been updated since the last data dump, which is giving the throttling code a good test run!