Remove unused imports

This commit is contained in:
slashtechno 2023-08-01 12:20:18 -05:00
parent 32f1cf588e
commit df2a598c9e
Signed by: slashtechno
GPG Key ID: 8EC1D9D9286C2B17
3 changed files with 1 additions and 4 deletions

View File

@ -75,7 +75,7 @@ def main():
upload_parser.add_argument(
"--whitelists",
"-w",
help="Either a whitelist hosts file or a directory containing whitelist hosts files", # noqa E501
help="Either a whitelist hosts file or a directory containing whitelist hosts files", # noqa E501
default="whitelist.txt", # Need to change this so it's optional
)
# Add subcommand: delete

View File

@ -45,7 +45,6 @@ def split_list(blocklists):
def upload_to_cloudflare(lists, account_id: str, token: str) -> None:
# A: It's iterating over the lists and uploading them to Cloudflare, the enumerate function is used to get the index of the list since lists is a list of lists
for i, lst in enumerate(lists):
list_name = f"adblock-list-{i + 1}"
url = (

View File

@ -1,8 +1,6 @@
import os
import pathlib
import requests
from dotenv import load_dotenv
class Config: