Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dario2994 committed Jul 14, 2022
1 parent dc1e28e commit 8a352d4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions p2d/domjudge_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ def call_domjudge_api(api_address, data, files, credentials):

# Updates the problem on the server with the package_zip.
# Returns true if the update was successful.
# TODO: This depends on the (still to be merged) PR
# https://github.com/DOMjudge/domjudge/pull/1522.
# credentials is a dictionary with keys contest_id, server, username, password.
def update_problem_api(package_zip, problem_id, credentials):
api_address = '/api/v4/contests/%s/problems' % credentials['contest_id']

Expand Down

0 comments on commit 8a352d4

Please sign in to comment.