Spaces:
Sleeping
Sleeping
rameshmoorthy
commited on
Update db.py
Browse files
db.py
CHANGED
@@ -31,7 +31,7 @@ class Database:
|
|
31 |
c = self.conn.cursor()
|
32 |
c.execute('''
|
33 |
INSERT INTO user_detail (name, dob, class) VALUES (?, ?, ?)
|
34 |
-
''', (userDetail.student_name, userDetail.dob, userDetail.
|
35 |
self.conn.commit()
|
36 |
user_id = c.lastrowid
|
37 |
c.close()
|
|
|
31 |
c = self.conn.cursor()
|
32 |
c.execute('''
|
33 |
INSERT INTO user_detail (name, dob, class) VALUES (?, ?, ?)
|
34 |
+
''', (userDetail.student_name, userDetail.dob, userDetail.class_std))
|
35 |
self.conn.commit()
|
36 |
user_id = c.lastrowid
|
37 |
c.close()
|