diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-07-10 17:50:14 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-07-10 17:50:14 -0500 |
commit | 8cd4f195b84c33d64e8d67250e49f3caf9604f07 (patch) | |
tree | 0946d8cc6a4abbe93a39e3c662a543eaf23195f3 /mediagoblin/plugins/openid/views.py | |
parent | a66fbf97d277222106002805723723b4b5bef726 (diff) | |
parent | 537ce5973aef0c392be620d24993831812515df5 (diff) | |
download | mediagoblin-8cd4f195b84c33d64e8d67250e49f3caf9604f07.tar.lz mediagoblin-8cd4f195b84c33d64e8d67250e49f3caf9604f07.tar.xz mediagoblin-8cd4f195b84c33d64e8d67250e49f3caf9604f07.zip |
Merge remote-tracking branch 'refs/remotes/rodney757/misc'
Diffstat (limited to 'mediagoblin/plugins/openid/views.py')
-rw-r--r-- | mediagoblin/plugins/openid/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/plugins/openid/views.py b/mediagoblin/plugins/openid/views.py index 9566e38e..b639a4cb 100644 --- a/mediagoblin/plugins/openid/views.py +++ b/mediagoblin/plugins/openid/views.py @@ -342,7 +342,7 @@ def delete_openid(request): form.openid.errors.append( _('That OpenID is not registered to this account.')) - if not form.errors and not request.session['messages']: + if not form.errors and not request.session.get('messages'): # Okay to continue with deleting openid return_to = request.urlgen( 'mediagoblin.plugins.openid.finish_delete') |