projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
414c682
)
Fixed a small error relating to the default value of media_metadata
author
tilly-Q
<nattilypigeonfowl@gmail.com>
Wed, 14 May 2014 16:34:13 +0000
(12:34 -0400)
committer
tilly-Q
<nattilypigeonfowl@gmail.com>
Wed, 14 May 2014 16:34:13 +0000
(12:34 -0400)
mediagoblin/submit/lib.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/submit/lib.py
b/mediagoblin/submit/lib.py
index df3f7b62dfca3f6dd6611af4b751743538924632..93ae7a1f342b8adc23e8ff47e5e6455b84e48299 100644
(file)
--- a/
mediagoblin/submit/lib.py
+++ b/
mediagoblin/submit/lib.py
@@
-142,7
+142,7
@@
def submit_media(mg_app, user, submitted_file, filename,
entry.license = license or None
- entry.media_metadata = metadata or
u""
+ entry.media_metadata = metadata or
{}
# Process the user's folksonomy "tags"
entry.tags = convert_to_tag_list_of_dicts(tags_string)