awacke1 commited on
Commit
87b4fba
·
1 Parent(s): f2200d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def store_message(name: str, message: str, outputfileName: str):
41
  from os.path import exists
42
  file_exists = exists(savePath)
43
  if (file_exists==False):
44
- with open(outputfileName, "w") as f: #write
45
  f.write(str("time, message, text\n")) # one time only to get column headers for CSV file
46
 
47
  if name and message:
 
41
  from os.path import exists
42
  file_exists = exists(savePath)
43
  if (file_exists==False):
44
+ with open(savePath, "w") as f: #write
45
  f.write(str("time, message, text\n")) # one time only to get column headers for CSV file
46
 
47
  if name and message: