Initial commit
This commit is contained in:
6
backup 24.2.26 - Kopie (61)/_check_license_debug.py
Normal file
6
backup 24.2.26 - Kopie (61)/_check_license_debug.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import sqlite3
|
||||
db = r"C:\Users\surov\Documents\AZA\backup 24.2.26\data\stripe_webhook.sqlite"
|
||||
con = sqlite3.connect(db)
|
||||
print("LATEST_LICENSE_ROW =", con.execute("SELECT status, current_period_end, customer_email, updated_at FROM licenses ORDER BY updated_at DESC LIMIT 1").fetchone())
|
||||
print("DEVICES_TABLE_EXISTS =", con.execute("SELECT name FROM sqlite_master WHERE type='table' AND name='licensed_devices'").fetchone())
|
||||
con.close()
|
||||
Reference in New Issue
Block a user