From 310ad4933711fb6c5049db9becdd04107e2612ec Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Fri, 26 Jan 2024 11:46:36 +0000 Subject: [PATCH] style: black --- commands/nyaa-404.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/nyaa-404.py b/commands/nyaa-404.py index 9e99082..43e54d9 100755 --- a/commands/nyaa-404.py +++ b/commands/nyaa-404.py @@ -20,9 +20,9 @@ LOGGER.addHandler(StreamHandler(stdout)) class CustomHTTPHandler(DefaultHTTPHandler): def request(self, url, query, headers, timeout): - headers[ - "User-Agent" - ] = "Mozilla/5.0 (X11; Linux x86_64; rv:111.0) Gecko/20100101 Firefox/111.0" + headers["User-Agent"] = ( + "Mozilla/5.0 (X11; Linux x86_64; rv:111.0) Gecko/20100101 Firefox/111.0" + ) return super().request(url, query, headers, timeout)