2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-29 05:11:52 +00:00

folk.csv has moved into 'folk' dir out of 'noinfo'

This commit is contained in:
Wookey 2019-04-02 00:57:13 +01:00
parent 705dd51f30
commit e913a56a6b
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ Run "python databaseReset.py reset" from the troggle directory.
Once troggle is running, you can also log in and then go to "Import / export" data under "admin" on the menu.
Adding a new year/expedition requires adding a column to the
noinfo/folk.csv table - a year doesn't exist until that is done.
folk/folk.csv table - a year doesn't exist until that is done.
Running a Troggle server

View File

@ -44,7 +44,7 @@ def parseMugShotAndBlurb(personline, header, person):
def LoadPersonsExpos():
persontab = open(os.path.join(settings.EXPOWEB, "noinfo", "folk.csv"))
persontab = open(os.path.join(settings.EXPOWEB, "folk", "folk.csv"))
personreader = csv.reader(persontab)
headers = personreader.next()
header = dict(zip(headers, range(len(headers))))