Fixed LGTM warning

This commit is contained in:
Fabio Manganiello 2021-09-22 00:22:42 +02:00
parent f147c44a8a
commit 98cb216ba7
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class CameraPiBackend(Backend):
self.bind_address = bind_address
self.listen_port = listen_port
self.server_socket = socket.socket()
self.server_socket.bind((self.bind_address, self.listen_port))
self.server_socket.bind((self.bind_address, self.listen_port)) # lgtm [py/bind-socket-all-network-interfaces]
self.server_socket.listen(0)
import picamera