summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2023-08-15 08:24:03 -0400
committermorpheus65535 <[email protected]>2023-08-15 08:24:03 -0400
commit262d7d2a928320159ae43d089c72aacc68a4d7a6 (patch)
tree51a2791547a661531f372142689c8e6bc752cc11
parent6a9f91450c1ac857cacb592f4e5df3ddee9b4915 (diff)
downloadbazarr-262d7d2a928320159ae43d089c72aacc68a4d7a6.tar.gz
bazarr-262d7d2a928320159ae43d089c72aacc68a4d7a6.zip
no log: fixed last merged pr
-rw-r--r--bazarr/app/announcements.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bazarr/app/announcements.py b/bazarr/app/announcements.py
index c92b86cea..71a9c9906 100644
--- a/bazarr/app/announcements.py
+++ b/bazarr/app/announcements.py
@@ -43,9 +43,8 @@ def parse_announcement_dict(announcement_dict):
def get_announcements_to_file():
try:
- r = requests.get(
- "https://raw.githubusercontent.com/morpheus65535/bazarr-binaries/master/announcements.json"
- timeout=10)
+ r = requests.get("https://raw.githubusercontent.com/morpheus65535/bazarr-binaries/master/announcements.json",
+ timeout=10)
except requests.exceptions.HTTPError:
logging.exception("Error trying to get announcements from Github. Http error.")
except requests.exceptions.ConnectionError: