diff --git a/Python/TeleBot/FuncForBot.py b/Python/TeleBot/FuncForBot.py index 12ad380..7c57cd2 100644 --- a/Python/TeleBot/FuncForBot.py +++ b/Python/TeleBot/FuncForBot.py @@ -11,4 +11,3 @@ def upd(conn, cursor, tabl): up_query = f"""UPDATE {tabl} SET page_name = '{parser.name[i].text}', price = '{parser.price[i].text}', priceDis = '{parser.priceDis[i].text}', mark = '{parser.mark[i].text}' WHERE id = {i+1}""" cursor.execute(up_query) conn.commit() - diff --git a/Python/TeleBot/tableCreator.py b/Python/TeleBot/tableCreator.py index b4f67df..8f24664 100644 --- a/Python/TeleBot/tableCreator.py +++ b/Python/TeleBot/tableCreator.py @@ -29,5 +29,3 @@ for i in range(15): connection.commit() except: connection.rollback() - -