From 0547b611f8376105edfbf9cc808cc6de8a8ff527 Mon Sep 17 00:00:00 2001 From: ada-dmitry Date: Sat, 22 Apr 2023 23:52:03 +0300 Subject: [PATCH] kek --- Python/TeleBot/FuncForBot.py | 1 - Python/TeleBot/tableCreator.py | 2 -- 2 files changed, 3 deletions(-) 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() - -