forked from expo/troggle
folk.csv has moved into 'folk' dir out of 'noinfo'
This commit is contained in:
parent
705dd51f30
commit
e913a56a6b
@ -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.
|
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
|
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
|
Running a Troggle server
|
||||||
|
@ -44,7 +44,7 @@ def parseMugShotAndBlurb(personline, header, person):
|
|||||||
|
|
||||||
def LoadPersonsExpos():
|
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)
|
personreader = csv.reader(persontab)
|
||||||
headers = personreader.next()
|
headers = personreader.next()
|
||||||
header = dict(zip(headers, range(len(headers))))
|
header = dict(zip(headers, range(len(headers))))
|
||||||
|
Loading…
Reference in New Issue
Block a user