Skip to content

Commit

Permalink
Update submit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MsRandom committed Nov 27, 2024
1 parent 7eb9407 commit 0438a14
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions miner/miner/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,9 @@ def submit():

print(
"\nSubmission info:\n"
f"Git Provider: {submission.provider}\n"
f"Repository: {submission.repository}\n"
f"Revision: {submission.revision}\n"
f"Contest: {submission.contest.name}\n"
f"Contest: {submission.contest_id.name}\n"
)
if input("Confirm submission? (Y/n): ").strip().lower() not in ("yes", "y", ""):
exit("Submission cancelled.")
Expand Down

0 comments on commit 0438a14

Please sign in to comment.