Remove unused imports
This commit is contained in:
parent
32f1cf588e
commit
df2a598c9e
|
@ -45,7 +45,6 @@ def split_list(blocklists):
|
||||||
|
|
||||||
|
|
||||||
def upload_to_cloudflare(lists, account_id: str, token: str) -> None:
|
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):
|
for i, lst in enumerate(lists):
|
||||||
list_name = f"adblock-list-{i + 1}"
|
list_name = f"adblock-list-{i + 1}"
|
||||||
url = (
|
url = (
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
import os
|
|
||||||
import pathlib
|
import pathlib
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
from dotenv import load_dotenv
|
|
||||||
|
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
|
|
Loading…
Reference in New Issue