Skip to content

Commit

Permalink
fix warning in b1500 driver
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed May 20, 2020
1 parent 33aef33 commit 7b4c6dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,6 @@ def is_enabled(self) -> bool:
activated_channels = re.sub(r"[^,\d]", "", response).split(",")

is_enabled = set(self.channels).issubset(
int(x) for x in activated_channels if x is not ''
int(x) for x in activated_channels if x != ''
)
return is_enabled

0 comments on commit 7b4c6dd

Please sign in to comment.