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>
This commit is contained in:
deepsource-autofix[bot] 2023-08-08 16:41:25 -04:00 committed by slashtechno
parent 7e98125597
commit c8e8ab7dda
1 changed files with 0 additions and 3 deletions

View File

@ -1,5 +1,3 @@
# This is a scriprt to undo the changes made by adblock-zerotrust.py
import asyncio import asyncio
import httpx import httpx
@ -17,7 +15,6 @@ async def delete_adblock_list(lists: dict, account_id: str, token: str):
"Authorization": f"Bearer {token}", "Authorization": f"Bearer {token}",
"Content-Type": "application/json", "Content-Type": "application/json",
} }
# response = requests.delete(url, headers=headers, timeout=10)
response = await client.delete(url, headers=headers, timeout=10) response = await client.delete(url, headers=headers, timeout=10)
if response.status_code != 200: if response.status_code != 200:
print(f"Error deleting list: {response.text}") print(f"Error deleting list: {response.text}")