posix4e commited on
Commit
b0fa286
·
1 Parent(s): 516b1f5

Fix split event views

Browse files
Files changed (1) hide show
  1. backend/backend.py +1 -1
backend/backend.py CHANGED
@@ -207,7 +207,7 @@ async def get_history(uid: str):
207
  if commands and len(commands) > 0:
208
  try:
209
  with open(f"{uid}_events.txt", "r") as f:
210
- events = f.read().split()
211
  except FileNotFoundError:
212
  events = None
213
 
 
207
  if commands and len(commands) > 0:
208
  try:
209
  with open(f"{uid}_events.txt", "r") as f:
210
+ events = f.read().split(",")
211
  except FileNotFoundError:
212
  events = None
213