Fix _get_tag_name_from_entries().

Replace == by =.
This commit is contained in:
Elrond 2012-03-16 21:18:04 +01:00
parent 497d927983
commit 1b4d9edaef

View File

@ -32,7 +32,7 @@ def _get_tag_name_from_entries(media_entries, tag_slug):
if media_entries.count(): if media_entries.count():
for tag in media_entries[0]['tags']: for tag in media_entries[0]['tags']:
if tag['slug'] == tag_slug: if tag['slug'] == tag_slug:
tag_name == tag['name'] tag_name = tag['name']
break break
return tag_name return tag_name