Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local variable 'sorted_tosort' referenced before assignment #81

Open
pokorny-martin opened this issue Apr 27, 2021 · 0 comments
Open

local variable 'sorted_tosort' referenced before assignment #81

pokorny-martin opened this issue Apr 27, 2021 · 0 comments

Comments

@pokorny-martin
Copy link

sorted_tosort = sorted(tosort, key=lambda x: (x[0], x[1]), reverse=True)

There should be one tab less, so if any of you run into this issue just delete one tab on this line and it will be working a-ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant