Skip to content

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