Skip to content

Commit

Permalink
Fix LGTM issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox committed Jan 21, 2022
1 parent 905b403 commit 8aafeea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def check_sfp_status(self, port_change, error_dict, timeout):
found = 0

try:
read, _, _ = select.select([self.rx_fd_p.fd], [], [], timeout / 1000)
read, _, _ = select.select([self.rx_fd_p.fd], [], [], float(timeout) / 1000)
print(read)
except select.error as err:
rc, msg = err
Expand Down

0 comments on commit 8aafeea

Please sign in to comment.