Skip to content

Commit 020aa0a

Browse files
authored
Fix _resolve_redirect (cheran-senthil#508)
Co-authored-by: mgilder <>
1 parent b3f93b1 commit 020aa0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tle/util/codeforces_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ async def _needs_fixing(handles):
453453

454454

455455
async def _resolve_redirect(handle):
456-
url = 'http://codeforces.com/profile/' + handle
456+
url = PROFILE_BASE_URL + handle
457457
async with _session.head(url) as r:
458458
if r.status == 200:
459459
return handle

0 commit comments

Comments
 (0)