fix yet another bug
This commit is contained in:
parent
5c8a483a96
commit
e7e99d3753
@ -147,7 +147,7 @@ class Participation(object):
|
|||||||
if not os.path.exists(PARTICIPANTS_FOLDER):
|
if not os.path.exists(PARTICIPANTS_FOLDER):
|
||||||
os.mkdir(PARTICIPANTS_FOLDER)
|
os.mkdir(PARTICIPANTS_FOLDER)
|
||||||
if not filename:
|
if not filename:
|
||||||
filename = os.path.join(PARTICIPANTS_FOLDER, "".join(p.name.split())) + ".csv"
|
filename = os.path.join(PARTICIPANTS_FOLDER, "".join(self.name.split())) + ".csv"
|
||||||
header = ["LastName", "FirstName", "eMail", "Phone", "Institute", "Street", "City",
|
header = ["LastName", "FirstName", "eMail", "Phone", "Institute", "Street", "City",
|
||||||
"RegDate", "CareerStage", "Fee", "FarewellEvent", "GwinnerAward", "LabTour",
|
"RegDate", "CareerStage", "Fee", "FarewellEvent", "GwinnerAward", "LabTour",
|
||||||
"FoodVegetarian", "FoodVegan", "FoodGlutenFree", "FoodNoPref"]
|
"FoodVegetarian", "FoodVegan", "FoodGlutenFree", "FoodNoPref"]
|
||||||
|
Loading…
Reference in New Issue
Block a user