Spaces:
Sleeping
Sleeping
Update auth.py
Browse files
auth.py
CHANGED
@@ -118,6 +118,7 @@ def get_db_connection():
|
|
118 |
# In the init_auth_db function, update the CREATE TABLE statement to match our schema
|
119 |
def init_auth_db():
|
120 |
"""Initialize the authentication database with required tables"""
|
|
|
121 |
try:
|
122 |
conn = get_db_connection()
|
123 |
c = conn.cursor()
|
|
|
118 |
# In the init_auth_db function, update the CREATE TABLE statement to match our schema
|
119 |
def init_auth_db():
|
120 |
"""Initialize the authentication database with required tables"""
|
121 |
+
conn= None
|
122 |
try:
|
123 |
conn = get_db_connection()
|
124 |
c = conn.cursor()
|