From 2729f660e9ea4386ab8ffb59659b6df01c3fb8e0 Mon Sep 17 00:00:00 2001 From: gryf Date: Tue, 13 May 2008 15:32:14 +0000 Subject: [PATCH] * Cosmetic changes. --- src/utils/thumbnail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/thumbnail.py b/src/utils/thumbnail.py index 6574b7e..27ce8df 100644 --- a/src/utils/thumbnail.py +++ b/src/utils/thumbnail.py @@ -109,13 +109,13 @@ class Thumbnail(object): return filepath, exif, returncode # private class functions - def __get_and_make_path(self, img_id): + def __get_and_make_path(self, image_id): """Make directory structure regards of id and return filepath WITHOUT extension""" t = path.join(self.base, self.root) try: mkdir(t) except: pass - h = hex(img_id) + h = hex(image_id) if len(h[2:])>6: try: mkdir(path.join(t, h[2:4])) except: pass