Fixed a small error relating to the default value of media_metadata

This commit is contained in:
tilly-Q 2014-05-14 12:34:13 -04:00
parent 414c682fb4
commit 2daf8ec000

View File

@ -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)