hardik8588 commited on
Commit
14d4121
·
verified ·
1 Parent(s): 04ec698

Update auth.py

Browse files
Files changed (1) hide show
  1. auth.py +1 -0
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()