-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If we don't have any areca controller, areca.detect() return an empty list. It was then added to hrdw by an append. This commit does : - return None instead of an empty list if no controller got detected - filter-out all None items out of the hdrw list - makes a one liner to append areca into hrdw Signed-off-by: Erwan Velu <e.velu@criteo.com>
- Loading branch information
1 parent
ef1cf28
commit f6a942a
Showing
2 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters