This commit is contained in:
Believethehype
2024-03-18 23:49:55 +01:00
parent b5da913caf
commit 7783abaa12
10 changed files with 21 additions and 13 deletions

View File

@@ -114,7 +114,11 @@ def get_from_sql_table(db, npub):
user.lud16 = row[5]
user.name = row[6]
user.lastactive = row[7]
user.subscribed = row[8]
try:
user.subscribed = row[8]
except:
user.subscribed = False
return user