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

Fix: In python 3 strings are unicode by default.. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0x30c4
Copy link

@0x30c4 0x30c4 commented Oct 5, 2021

In python 3 strings are unicode by default. So, I add the a try except block to catch to make the code compatible with python3.

https://docs.python.org/3.0/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit

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