Files
aza/AzA march 2026/_local_diagnostic_artifacts/_tmp_e2e_email.py
2026-06-13 22:47:31 +02:00

9 lines
241 B
Python

import sqlite3
c = sqlite3.connect("/app/data/stripe_webhook.sqlite")
r = c.execute(
"SELECT customer_email FROM licenses WHERE customer_email IS NOT NULL "
"AND TRIM(customer_email) != '' LIMIT 1"
).fetchone()
if r:
print(r[0])