Skip to content

Commit

Permalink
no log: fixed last merged pr
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Aug 15, 2023
1 parent 6a9f914 commit 262d7d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bazarr/app/announcements.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 262d7d2

Please sign in to comment.