Skip to content

Checking for python version for the open_binary and files calls#373

Open
TedyonGit wants to merge 1 commit into
K0lb3:masterfrom
TedyonGit:patch-2
Open

Checking for python version for the open_binary and files calls#373
TedyonGit wants to merge 1 commit into
K0lb3:masterfrom
TedyonGit:patch-2

Conversation

@TedyonGit
Copy link
Copy Markdown

I just wanted to fix the warning "DeprecationWarning".
So i just added a check for python version. If the python version is >= 3.9, then is going to use files call.
If not, is going to fallback to open_binary.

Is not much, but i hope it helps :D

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

Successfully merging this pull request may close these issues.

1 participant