VietCat commited on
Commit
490b8d0
·
1 Parent(s): fa65de6

fix timestamp issue

Browse files
Files changed (1) hide show
  1. app/message_processor.py +2 -0
app/message_processor.py CHANGED
@@ -231,6 +231,8 @@ class MessageProcessor:
231
  return
232
 
233
  def flatten_timestamp(self, ts):
 
 
234
  flat = []
235
  for t in ts:
236
  if isinstance(t, list):
 
231
  return
232
 
233
  def flatten_timestamp(self, ts):
234
+ if isinstance(ts, int):
235
+ return ts
236
  flat = []
237
  for t in ts:
238
  if isinstance(t, list):