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

Trying to Update (TypeError: a bytes-like object is required, not 'str') #60

Open
frav1s opened this issue May 28, 2022 · 1 comment
Open

Comments

@frav1s
Copy link

frav1s commented May 28, 2022

When im trying 'sudo ./droopescan update --update drupal' i have this except:
for line in tags_content.split('\n'):
TypeError: a bytes-like object is required, not 'str'
What's wrong?

@SamJoan
Copy link
Owner

SamJoan commented May 29, 2022

I would try python 2? I think the update portion of hte code does not support python 3.

Alternatively you can update that to be like tags_content.split(b'\n'), a few more changes like that would be needed and I am happy to accept a merge for that.

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

No branches or pull requests

2 participants