Commit 1f019804 authored by n0toose's avatar n0toose
Browse files

Remove unnecessary database commit

We do not need to run conn.commit() in `bot.py`, as we already execute
that in `database.py`.
parent bfd08e18
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -342,8 +342,6 @@ async def download_tor(client: Client, callback: CallbackQuery):
                tor_sig_id,
            )

            await conn.commit()

            await logger.info(f"Database entry: Successful")
            await logger.info(f"-----------------")
            await helpers.upload_succeeded(client, callback, lang, platform)