cleaning ok
This commit is contained in:
parent
b316173efa
commit
fcabf365b3
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user