Skip to content

Commit 6370bc4

Browse files
restructuring the setup of client
1 parent 79b60f4 commit 6370bc4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

utils/upload.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,7 @@ def _main() -> None:
370370
level=logging.DEBUG if args.verbose else logging.INFO)
371371
logging.getLogger('urllib3').setLevel(logging.CRITICAL)
372372

373-
client = omegaup.api.Client(username=args.username,
374-
password=args.password,
375-
# api_token=args.api_token,
373+
client = omegaup.api.Client(api_token=args.api_token,
376374
url=args.url)
377375

378376
if env.get('GITHUB_ACTIONS'):

0 commit comments

Comments
 (0)