Spaces:
Running
Running
Update mtdna_backend.py
Browse files- mtdna_backend.py +2 -1
mtdna_backend.py
CHANGED
@@ -542,7 +542,8 @@ def load_user_usage():
|
|
542 |
if not found:
|
543 |
return {} # not found, start fresh
|
544 |
|
545 |
-
file_id = found[0]["id"]
|
|
|
546 |
content = pipeline.download_drive_file_content(file_id)
|
547 |
return json.loads(content.strip()) if content.strip() else {}
|
548 |
|
|
|
542 |
if not found:
|
543 |
return {} # not found, start fresh
|
544 |
|
545 |
+
#file_id = found[0]["id"]
|
546 |
+
file_id = found
|
547 |
content = pipeline.download_drive_file_content(file_id)
|
548 |
return json.loads(content.strip()) if content.strip() else {}
|
549 |
|