From fbeede2b7165705a78965e8fd1d79a79da98660d Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 3 Dec 2011 12:16:13 +0100 Subject: [PATCH] default charset --- pandora/item/models.py | 2 +- pandora/templates/api.html | 2 +- pandora/templates/embed.html | 2 +- pandora/templates/index.html | 2 +- pandora/templates/intro.html | 2 +- pandora/templates/timeline.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index 0e3f31be..ef90d13c 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -986,7 +986,7 @@ class Item(models.Model): director = u', '.join(self.get('director', ['Unknown Director'])) cmd = [settings.ITEM_POSTER, - '-t', self.get('title').encode('utf-8'), + '-t', self.get('title', '').encode('utf-8'), '-d', director.encode('utf-8'), '-y', str(self.get('year', '')), '-p', poster diff --git a/pandora/templates/api.html b/pandora/templates/api.html index 89fce8e2..f5d28553 100644 --- a/pandora/templates/api.html +++ b/pandora/templates/api.html @@ -1,8 +1,8 @@
+