cleaning ok
All checks were successful
dl / lint (push) Successful in 1m34s
dl / docker (push) Successful in 43s

This commit is contained in:
Michel Roux 2023-10-05 15:36:43 +02:00
parent b316173efa
commit fcabf365b3

View File

@ -51,8 +51,7 @@ def remove(path, file):
def clean(path, database): def clean(path, database):
for file in os.listdir(path): for file in os.listdir(path):
if os.path.isfile(os.path.join(path, file)) and file not in database: if os.path.isfile(os.path.join(path, file)) and file not in database:
# remove(path, file) remove(path, file)
print(f"Hop {path}/{file}")
req_titles = requests.get( req_titles = requests.get(