From c8e8ab7dda61b31fe0d6148efc85fec0f1c4a5ae Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 8 Aug 2023 16:41:25 -0400 Subject: [PATCH] remove commented out code (#7) * refactor: remove commented out code It is recommended to remove any commented code in your codebase. * style: Format code with black and isort --------- Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> --- src/utils/delete.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/utils/delete.py b/src/utils/delete.py index e446b90..d830624 100644 --- a/src/utils/delete.py +++ b/src/utils/delete.py @@ -1,5 +1,3 @@ -# This is a scriprt to undo the changes made by adblock-zerotrust.py - import asyncio import httpx @@ -17,7 +15,6 @@ async def delete_adblock_list(lists: dict, account_id: str, token: str): "Authorization": f"Bearer {token}", "Content-Type": "application/json", } - # response = requests.delete(url, headers=headers, timeout=10) response = await client.delete(url, headers=headers, timeout=10) if response.status_code != 200: print(f"Error deleting list: {response.text}")