Commit 4b119df1 authored by João Capela's avatar João Capela
Browse files

[FIX] closing files

parent 6780e73f
Pipeline #2630 passed with stage
in 3 minutes and 5 seconds
code/__py*
.idea/*
.idea
......@@ -211,6 +211,7 @@ def run(files, inputs, isRest):
with open(submission_path + "/submissionComplete", "w") as f:
f.write("Submission of files complete: ")
f.close()
if len(os.listdir(submission_path)) < 4:
shutil.rmtree(submission_path)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment