commit 0e1a71cc689f64590a588a01660ad416b2d2083e
parent 2268ea7ab4dc549dea3eb91663d3a07cb615454d
Author: Brian C. Lane <bcl@wyatt.home>
Date: Sat, 6 Mar 2010 11:18:22 -0800
Fixed typo in genre list generation.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/hms/hms.py b/server/hms/hms.py
@@ -537,7 +537,7 @@ class UpdateTMDBHandler(BaseHandler):
genres = []
for genre in movie["genres"]:
genres.append(genre["name"])
- if genre:
+ if genres:
metadata["categories"] = ",".join(genres)
name = tornado.escape.xhtml_escape(self.current_user)