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:
parent
7e98125597
commit
c8e8ab7dda
|
@ -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}")
|
||||
|
|
Loading…
Reference in New Issue