Skip to content

Commit b5d1f71

Browse files
author
Volara
committed
Remove preemptive extract
1 parent 43df1d9 commit b5d1f71

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

volara_proof/__main__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ def run() -> None:
3333

3434
if not input_files_exist:
3535
raise FileNotFoundError(f"No input files found in {INPUT_DIR}")
36-
extract_input()
3736

3837
proof = Proof(config)
3938
proof_response = proof.generate()
@@ -44,19 +43,6 @@ def run() -> None:
4443
logging.info(f"Proof generation complete: {proof_response}")
4544

4645

47-
def extract_input() -> None:
48-
"""
49-
If the input directory contains any zip files, extract them
50-
:return:
51-
"""
52-
for input_filename in os.listdir(INPUT_DIR):
53-
input_file = os.path.join(INPUT_DIR, input_filename)
54-
55-
if zipfile.is_zipfile(input_file):
56-
with zipfile.ZipFile(input_file, "r") as zip_ref:
57-
zip_ref.extractall(INPUT_DIR)
58-
59-
6046
if __name__ == "__main__":
6147
try:
6248
run()

0 commit comments

Comments
 (0)