Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krofna committed Aug 5, 2019
1 parent a2653cf commit 242f977
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tle/cogs/handles.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ async def report(self, ctx):
subs = await cf.user.status(handle=handle, count=5)
if any(sub.problem.name == prob and sub.verdict == 'COMPILATION_ERROR' for sub in subs):
self.identify_map.pop(invoker)
await self._set(ctx, ctx.author, handle)
users = await cf.user.info(handles=[handle])
await self._set(ctx, ctx.author, users[0])
await ctx.send(f'`{invoker}` set to `{handle}`')
else:
await ctx.send(f'Sorry `{invoker}`, can you try again?')
Expand Down

0 comments on commit 242f977

Please sign in to comment.