dnschef icon indicating copy to clipboard operation
dnschef copied to clipboard

Update dnschef.py

Open Vladimir-Ivanov-Git opened this issue 4 years ago • 0 comments

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

Vladimir-Ivanov-Git avatar Feb 13 '21 19:02 Vladimir-Ivanov-Git