Image handling improvements

svn: r1289
This commit is contained in:
Don Allingham
2003-02-08 19:16:12 +00:00
parent 49aaabcbdc
commit 9acab799cb
3 changed files with 5 additions and 8 deletions

View File

@ -399,6 +399,7 @@ def birthday(person):
def thumb_path(dir,mobj):
type = mobj.getMimeType()
if type[0:5] == "image":
thumb = "%s/.thumb/%s.jpg" % (dir,mobj.getId())
try: