Spaces:
Sleeping
Sleeping
Update mtdna_backend.py
Browse files- mtdna_backend.py +1 -1
mtdna_backend.py
CHANGED
|
@@ -581,7 +581,7 @@ def save_user_usage(usage_dict):
|
|
| 581 |
with open(tmp_path, "w") as f:
|
| 582 |
json.dump(usage_dict, f, indent=2)
|
| 583 |
|
| 584 |
-
upload_file_to_drive(tmp_path, "user_usage_log.json", parent_folder_id=iterate3_id)
|
| 585 |
|
| 586 |
except Exception as e:
|
| 587 |
print(f"❌ Failed to save user_usage_log.json to Google Drive: {e}")
|
|
|
|
| 581 |
with open(tmp_path, "w") as f:
|
| 582 |
json.dump(usage_dict, f, indent=2)
|
| 583 |
|
| 584 |
+
pipeline.upload_file_to_drive(tmp_path, "user_usage_log.json", parent_folder_id=iterate3_id)
|
| 585 |
|
| 586 |
except Exception as e:
|
| 587 |
print(f"❌ Failed to save user_usage_log.json to Google Drive: {e}")
|