[svn r8169] julian's quick makework and index page

This commit is contained in:
julian
2009-01-17 20:46:05 +01:00
parent c538cc7e95
commit 309d706bd7
6 changed files with 56 additions and 29 deletions

View File

@@ -92,7 +92,7 @@ def LoadPersons():
def parseMugShotAndBlurb(firstname, lastname, person, header, pObject):
#create mugshot Photo instance
mugShotPath = settings.EXPOWEB+"folk/"+person[header["Mugshot"]]
mugShotPath = os.path.join(settings.EXPOWEB, "folk", person[header["Mugshot"]])
if mugShotPath[-3:]=='jpg': #if person just has an image, add it
mugShotObj = models.Photo(
caption="Mugshot for "+firstname+" "+lastname,