From de7d68b1eb70542f66092cb0048af3d096e6980c Mon Sep 17 00:00:00 2001 From: Wookey Date: Tue, 2 Apr 2019 00:57:13 +0100 Subject: [PATCH] folk.csv has moved into 'folk' dir out of 'noinfo' --- README.txt | 2 +- parsers/people.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index 3c8e334..81ff4c6 100644 --- a/README.txt +++ b/README.txt @@ -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 diff --git a/parsers/people.py b/parsers/people.py index 3c3fc03..9b06f4e 100644 --- a/parsers/people.py +++ b/parsers/people.py @@ -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))))