diff --git a/bazarr/app/announcements.py b/bazarr/app/announcements.py index 265942c8c..c92b86cea 100644 --- a/bazarr/app/announcements.py +++ b/bazarr/app/announcements.py @@ -43,7 +43,9 @@ 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") + 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: