diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-01-21 16:40:39 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-01-21 16:40:39 -0600 |
commit | 2788e6a16484330ce1091ae57a87a4da362936c6 (patch) | |
tree | 49bdc0fe23a791ff9c9a3571dcec3009e337e96e /mediagoblin/submit | |
parent | 3c351460e1dbed9e789e363f1d5635160bce8d84 (diff) | |
download | mediagoblin-2788e6a16484330ce1091ae57a87a4da362936c6.tar.lz mediagoblin-2788e6a16484330ce1091ae57a87a4da362936c6.tar.xz mediagoblin-2788e6a16484330ce1091ae57a87a4da362936c6.zip |
License "all rights reserved" default should be None/NULL, not empty string
Diffstat (limited to 'mediagoblin/submit')
-rw-r--r-- | mediagoblin/submit/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/submit/views.py b/mediagoblin/submit/views.py index 832203a4..f70e4ba5 100644 --- a/mediagoblin/submit/views.py +++ b/mediagoblin/submit/views.py @@ -69,7 +69,7 @@ def submit_start(request): entry.description_html = cleaned_markdown_conversion( entry.description) - entry.license = unicode(request.POST.get('license', '')) + entry.license = unicode(request.POST.get('license', "")) or None entry.uploader = request.user._id |