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 0e3f31bea..ef90d13c6 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 89fce8e2a..f5d285533 100644 --- a/pandora/templates/api.html +++ b/pandora/templates/api.html @@ -1,8 +1,8 @@ + {{sitename}} API - diff --git a/pandora/templates/embed.html b/pandora/templates/embed.html index 4c34e554b..6f46ce867 100644 --- a/pandora/templates/embed.html +++ b/pandora/templates/embed.html @@ -1,8 +1,8 @@ + {{settings.SITENAME}} - diff --git a/pandora/templates/index.html b/pandora/templates/index.html index f6929f409..357beb596 100644 --- a/pandora/templates/index.html +++ b/pandora/templates/index.html @@ -1,7 +1,7 @@ - + {{settings.SITENAME}} diff --git a/pandora/templates/intro.html b/pandora/templates/intro.html index b13c13781..d6cc1f9d9 100644 --- a/pandora/templates/intro.html +++ b/pandora/templates/intro.html @@ -1,8 +1,8 @@ + pan.do/ra - this is a pan.do/ra development preview, click here to continue diff --git a/pandora/templates/timeline.html b/pandora/templates/timeline.html index ba30d1bdd..66f261059 100644 --- a/pandora/templates/timeline.html +++ b/pandora/templates/timeline.html @@ -1,8 +1,8 @@ + timeline demo -