chrishoffman/smugpy — pull request #5 by Ramblurr (2012-08-29 21:50:20+00:00)
Title: Fix constant 'nonce' issue

A 'nonce' value can only be used once. Smugmug's servers track which nonce values you've sent and sends a `33 - invalid/used nonce` error when it detects a repeat.

This commit fixes the fact that the nonce value was getting computed *only once* (upon evaluation of the `def _get_oauth_resource_request_parameters(...)`.