diff --git a/db_connection.py b/db_connection.py index e44e3fe..8e0dd94 100644 --- a/db_connection.py +++ b/db_connection.py @@ -5,15 +5,6 @@ class DBConnection: def __init__(self): - # self.DB = pymysql.connect( - # user='root', - # passwd='1234', - # host='localhost', - # port=3306, - # db='Restaurants', - # charset='utf8', - # cursorclass=pymysql.cursors.DictCursor - # ) self.DB = pymysql.connect( user='cau', passwd='kG6byywEExRr', @@ -79,4 +70,4 @@ def rollback(self): self.DB.close() def close_connection(self): - self.DB.close() \ No newline at end of file + self.DB.close()