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

Updated tuning.py so it works with Python >=3.2 #54

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

Conversation

DavidGoedicke
Copy link

Same issue as occurred in this other Github repo

Essentially, Python3.9 removed the function tostring() and we now need to use tobytes().

The change also includes a check for the minor version to run the new tobytes() function if we run in 3.2 or higher.

I hope this helps a little and addresses at least this one forum post.

Same issue as occurred in [this other Github repo](https://github.com/SecureAuthCorp/impacket/pull/10540

Essentially ```tostring()``` got outdated and so now we need to use ```tobytes()```.
@JamesOsborn-SE
Copy link

works on my machine

@vijay-prema
Copy link

LGTM. Approved.

@dynamicdavidrobert
Copy link

thank you a lot

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.

4 participants