Fix UnboundLocalError: local variable 'results' referenced before assignment

#16
by albertvillanova HF staff - opened
Demo leaderboard with an integrated backend org
edited about 9 hours ago

Fix UnboundLocalError: local variable 'results' referenced before assignment.

If there is a exception within the try block, the variable results is never defined.

This PR raises the exception (so we have information to fix it) after having cleaned up.

CC: @clefourrier

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment