projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4504dbb
)
Fixed typo in API post_entry
author
Joar Wandborg
<git@wandborg.com>
Sat, 15 Sep 2012 14:54:14 +0000
(16:54 +0200)
committer
Joar Wandborg
<git@wandborg.com>
Sat, 15 Sep 2012 14:54:14 +0000
(16:54 +0200)
mediagoblin/plugins/api/views.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/plugins/api/views.py
b/mediagoblin/plugins/api/views.py
index 5508f8b0ad4595a6dc45e52f5fed0334180535ea..6a58fabff4195a0cd0d7cba24982f57186267795 100644
(file)
--- a/
mediagoblin/plugins/api/views.py
+++ b/
mediagoblin/plugins/api/views.py
@@
-57,7
+57,7
@@
def post_entry(request):
entry.title = unicode(request.POST.get('title')
or splitext(media_file.filename)[0])
- entry.description
s
= unicode(request.POST.get('description'))
+ entry.description = unicode(request.POST.get('description'))
entry.license = unicode(request.POST.get('license', ''))
entry.uploader = request.user.id