Spaces:
Paused
Paused
Download final_check.py from YOSOYYONOSOYOTRO/crowdata: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/spaces/YOSOYYONOSOYOTRO/crowdata/resolve/main/final_check.py
- Command line
-
hf download hf://spaces/YOSOYYONOSOYOTRO/crowdata/final_check.py
-
curl -L -o final_check.py https://huggingface.co/spaces/YOSOYYONOSOYOTRO/crowdata/resolve/main/final_check.py
378 Bytes
| import sqlite3 | |
| conn = sqlite3.connect('E:/crowdata/backend/crowdata.db') | |
| cursor = conn.cursor() | |
| cursor.execute('SELECT email, is_verified, is_superuser, is_active FROM users WHERE email IN (?, ?)', ('admin@crowdata.ar', 'crowsistemas@proton.me')) | |
| for row in cursor.fetchall(): | |
| print(f'Email: {row[0]}, verified: {row[1]}, superuser: {row[2]}, active: {row[3]}') | |
| conn.close() |