Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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:
|