Spaces:
Running
Running
Update mtdna_backend.py
Browse files- mtdna_backend.py +5 -0
mtdna_backend.py
CHANGED
@@ -613,6 +613,11 @@ def load_user_usage():
|
|
613 |
|
614 |
sheet = client.open("user_usage_log").sheet1
|
615 |
data = sheet.get_all_values()
|
|
|
|
|
|
|
|
|
|
|
616 |
|
617 |
if not data or len(data) < 2:
|
618 |
print("⚠️ Sheet is empty or missing rows.")
|
|
|
613 |
|
614 |
sheet = client.open("user_usage_log").sheet1
|
615 |
data = sheet.get_all_values()
|
616 |
+
print("data: ", data)
|
617 |
+
print("🧪 Raw header row from sheet:", data[0])
|
618 |
+
print("🧪 Character codes in each header:")
|
619 |
+
for h in data[0]:
|
620 |
+
print([ord(c) for c in h])
|
621 |
|
622 |
if not data or len(data) < 2:
|
623 |
print("⚠️ Sheet is empty or missing rows.")
|