Skip to content

Commit 8bcea79

Browse files
committed
FIX: Typo
Also removed an old comment
1 parent fcbe530 commit 8bcea79

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

database/db_wrapper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(self):
1717
try:
1818
self.create_database(database_path)
1919
except:
20-
print("An error has occured while creating the database!")
20+
print("An error has occurred while creating the database!")
2121

2222
self.connection = sqlite3.connect(database_path)
2323
self.connection.text_factory = lambda x: str(x, 'utf-8', "ignore")
@@ -94,7 +94,6 @@ def add_user(self, user_id, lang_id, first_name, last_name, username):
9494
self.cursor.execute("INSERT INTO users VALUES (?, ?, ?, ?, ?, 0, 0, 0, 0);", (str(user_id), str(lang_id), str(first_name), str(last_name), str(username)))
9595
self.connection.commit()
9696
except sqlite3.IntegrityError:
97-
# print("User already exists")
9897
pass
9998

10099
def insert(self, column_name, value, user_id):

0 commit comments

Comments
 (0)