no log: fixed last merged pr

This commit is contained in:
morpheus65535 2023-08-15 08:24:03 -04:00
parent 6a9f91450c
commit 262d7d2a92
1 changed files with 2 additions and 3 deletions

View File

@ -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: