diff --git a/__pycache__/crawler.cpython-37.pyc b/__pycache__/crawler.cpython-37.pyc new file mode 100644 index 0000000..8076c9b Binary files /dev/null and b/__pycache__/crawler.cpython-37.pyc differ diff --git a/__pycache__/crawler.cpython-39.pyc b/__pycache__/crawler.cpython-39.pyc new file mode 100644 index 0000000..8ebe379 Binary files /dev/null and b/__pycache__/crawler.cpython-39.pyc differ diff --git a/__pycache__/excluder.cpython-37.pyc b/__pycache__/excluder.cpython-37.pyc new file mode 100644 index 0000000..b012b92 Binary files /dev/null and b/__pycache__/excluder.cpython-37.pyc differ diff --git a/__pycache__/excluder.cpython-39.pyc b/__pycache__/excluder.cpython-39.pyc new file mode 100644 index 0000000..6a9c74a Binary files /dev/null and b/__pycache__/excluder.cpython-39.pyc differ diff --git a/excluder.py b/excluder.py index 3ad049d..181bcfe 100644 --- a/excluder.py +++ b/excluder.py @@ -1,3 +1,4 @@ +import os import crawler def add(incoming,input): @@ -25,4 +26,5 @@ def add_file(incoming,excluded_in): lines = set(f.readlines()) with open(incoming, 'w') as f: f.writelines(set(lines)) - crawler.sort(incoming) \ No newline at end of file + crawler.sort(incoming) + os.remove(excluded_in) \ No newline at end of file