Commit 577b0568 authored by nimrod's avatar nimrod
Browse files

Silence some new pylint warnings.

parent d4a4f9b8
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ def scan(library=None):
            headers=headers,
            data=json.dumps(audio_request_data).encode(),
        )
        # pylint: disable-next=consider-using-with
        urllib.request.urlopen(req)  # nosec
    elif library == "video":
        req = urllib.request.Request(
@@ -32,6 +33,7 @@ def scan(library=None):
            headers=headers,
            data=json.dumps(video_request_data).encode(),
        )
        # pylint: disable-next=consider-using-with
        urllib.request.urlopen(req)  # nosec
    else:
        scan("video")