commit 05ebf08501adec9c6bc4527bf6d9d007b8b6b245
parent b9e3d5a122e4e492e3de113b9805a7e05bf1fb7a
Author: Brian C. Lane <bcl@brianlane.com>
Date: Sat, 6 Mar 2010 11:19:07 -0800
Merge branch 'localtest' of wyatt.home:projs/hms
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)