Spaces:
Running
Running
Update mtdna_backend.py
Browse files- mtdna_backend.py +1 -0
mtdna_backend.py
CHANGED
@@ -579,6 +579,7 @@ def save_user_usage(usage_dict):
|
|
579 |
|
580 |
import tempfile
|
581 |
tmp_path = os.path.join(tempfile.gettempdir(), "user_usage_log.json")
|
|
|
582 |
with open(tmp_path, "w") as f:
|
583 |
json.dump(usage_dict, f, indent=2)
|
584 |
|
|
|
579 |
|
580 |
import tempfile
|
581 |
tmp_path = os.path.join(tempfile.gettempdir(), "user_usage_log.json")
|
582 |
+
print("💾 Saving this usage dict:", usage_dict)
|
583 |
with open(tmp_path, "w") as f:
|
584 |
json.dump(usage_dict, f, indent=2)
|
585 |
|