We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06281a0 commit d285037Copy full SHA for d285037
bank_managment_system/backend.py
@@ -167,4 +167,4 @@ def get_detail(acc_no):
167
# Check if employee exists
168
def check_name_in_staff(name):
169
cur.execute("SELECT 1 FROM staff WHERE name = ?", (name,))
170
- return cur.fetchone() is not Non
+ return cur.fetchone() is not None
0 commit comments