use urllib.quote to sanitize the upload url. without this, a space in the image filename causes an error.
use urllib.quote to sanitize the upload url. without this, a space in the image filename causes an error.

chrishoffman/smugpy