update static location in scripts, fix poster generation

This commit is contained in:
j 2010-11-18 18:33:46 +01:00
commit fc2951eb06
5 changed files with 12 additions and 6 deletions

View file

@ -9,7 +9,7 @@ import os
from ox.image import drawText, wrapText
import sys
static_root = os.path.join(os.path.dirname(__file__), '..', 'static')
static_root = os.path.join(os.path.dirname(__file__), '..', '..', 'static')
def render_poster(id, title, frame, timeline, poster):
poster_width = 640