Oops, I broke teh all rights reserved ;)
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 21 Jan 2012 22:56:49 +0000 (16:56 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 21 Jan 2012 22:56:49 +0000 (16:56 -0600)
mediagoblin/edit/views.py

index 471968f748324a06021eba67cbfa938c40754b68..cf7182e564109c98138c083b5ca968bbc8f666ae 100644 (file)
@@ -75,7 +75,7 @@ def edit_media(request, media):
             media.description_html = cleaned_markdown_conversion(
                 media.description)
 
-            media.license = unicode(request.POST.get('license')) or None
+            media.license = unicode(request.POST.get('license', '')) or None
 
             media.slug = unicode(request.POST['slug'])