Marthee commited on
Commit
d702a65
·
1 Parent(s): c580ec9

Update db.py

Browse files
Files changed (1) hide show
  1. db.py +1 -1
db.py CHANGED
@@ -81,7 +81,7 @@ def dropbox_upload_file(local_path, local_file, dropbox_file_path):
81
 
82
  #local_file_path = pathlib.Path(local_path) / local_file
83
  if isinstance(local_file, pd.DataFrame):
84
- file=local_file.to_xml().encode()
85
  # file=local_file.to_csv(index=False).encode()
86
  else:
87
  success,encoded=cv2.imencode('.png',local_file)
 
81
 
82
  #local_file_path = pathlib.Path(local_path) / local_file
83
  if isinstance(local_file, pd.DataFrame):
84
+ file=local_file.to_xml(index=False).encode()
85
  # file=local_file.to_csv(index=False).encode()
86
  else:
87
  success,encoded=cv2.imencode('.png',local_file)