From 9ecbb1b7caf8b4de1681b80b0dc9e381691c43a1 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 9 Mar 2012 20:23:21 +0400 Subject: [PATCH] minor changes... Signed-off-by: Alex A. Naanou --- index2.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index2.py b/index2.py index 47dc696f..1e470b44 100755 --- a/index2.py +++ b/index2.py @@ -1,7 +1,7 @@ #======================================================================= __version__ = '''0.0.01''' -__sub_version__ = '''20120303021628''' +__sub_version__ = '''20120309173155''' __copyright__ = '''(c) Alex A. Naanou 2011''' @@ -101,7 +101,7 @@ def image_gid(path, format='%(artist)s-%(date)s-%(name)s', date_format='%Y%m%d-% -- Example: - 20110627-195706-DSC_1234 + Alex_A.Naanou-20110627-195706-DSC_1234 Supported fields: %(artist)s - Exif.Image.Artist field, stripped and spaces replaced with underscores. @@ -111,6 +111,7 @@ def image_gid(path, format='%(artist)s-%(date)s-%(name)s', date_format='%Y%m%d-% NOTE: date and time are the date and time the image was made ('Exif.Image.DateTime') NOTE: need EXIF data to generate a GID ''' + # get the filename... data = { 'name': os.path.splitext(os.path.split(path)[-1])[0], }