Skip to content

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

Open
DavidGoedicke wants to merge 1 commit intorespeaker:masterfrom
DavidGoedicke:master
Open

Updated tuning.py so it works with Python >=3.2#54
DavidGoedicke wants to merge 1 commit intorespeaker:masterfrom
DavidGoedicke:master

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