From 6ecd8c234e11ca39d5ce7baf94236948c482ad09 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 18 Jul 2007 11:35:54 +0000 Subject: [PATCH] typos --- oxdbarchive/cache.py | 2 +- oxdbarchive/model.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/oxdbarchive/cache.py b/oxdbarchive/cache.py index ab326c0..48472af 100644 --- a/oxdbarchive/cache.py +++ b/oxdbarchive/cache.py @@ -61,6 +61,6 @@ def loadPosterStill(afile, position): still = afile.posterStillFile if not exists(still): afile.extractPosterStill(position) - if exsts(still): + if exists(still): return loadFile(still) return '' diff --git a/oxdbarchive/model.py b/oxdbarchive/model.py index 0242439..6146b9a 100644 --- a/oxdbarchive/model.py +++ b/oxdbarchive/model.py @@ -460,10 +460,11 @@ class ArchiveFile(SQLObject): def extractFrames(self, img_folder=cache.frame_cache_root): for p in self._startPoints(): - self.extractFrame(p) + self.frame(p) - def extractPosterStill(self, position, img_folder=): - extract_poster_still(self.movieFile, self.posterStillFile, position) + def extractPosterStill(self, position): + oxdb_makedir(dirname(self.posterStillFile)) + extract_poster_still(self.absolutePath, self.posterStillFile, position) def extractClipMovie(self, force = False): if self.broken: