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

Update dnschef.py #29

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

Conversation

Vladimir-Ivanov-Git
Copy link

Parameter --truedomains not working

Error in line 287: for domain,host in sorted(iter(nametodns.items()), key=operator.itemgetter(1)):
Error text: TypeError: '<' not supported between instances of 'str' and 'bool'

The error occurs because the sort key can be strings and booleans.

Dnschef output before fix:

image

Dnschef output after fix:

image

Parameter --truedomains not working
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