Removed white space on empty line def get_device_name (line 76).
Added a check to see if include_host is empty before excluding devices not in the list.
This is to fix a bug (#5) where if there is no include_host flag, all devices are excluded.
I have tested this in my installation, and it appears to fix the issue - there may be a better way to do this check than nesting another if statement.
Removed white space on empty line
def get_device_name
(line 76).Added a check to see if
include_host
is empty before excluding devices not in the list. This is to fix a bug (#5) where if there is noinclude_host
flag, all devices are excluded. I have tested this in my installation, and it appears to fix the issue - there may be a better way to do this check than nesting another if statement.