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

This code sucks. #6

Open
CookieStudios5609 opened this issue Mar 21, 2021 · 0 comments
Open

This code sucks. #6

CookieStudios5609 opened this issue Mar 21, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@CookieStudios5609
Copy link
Owner

This code sucks, and you shouldn't've followed that terrible tutorial.

Issue: After reading docs, you can very easily see that all encoding or decoding can be done in one line using e = b64encode(variable_that_holds_user_input.encode("utf-8")) or e = b64decode(variable.encode()) and then e.decode()

Solution: Replace the relevant lines of code with these much shorter and more sensible ones.

@CookieStudios5609 CookieStudios5609 added enhancement New feature or request good first issue Good for newcomers labels Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant