no log: fixed last merged pr

pull/2230/head
morpheus65535 1 year ago
parent 6a9f91450c
commit 262d7d2a92

@ -43,8 +43,7 @@ def parse_announcement_dict(announcement_dict):
def get_announcements_to_file(): def get_announcements_to_file():
try: try:
r = requests.get( r = requests.get("https://raw.githubusercontent.com/morpheus65535/bazarr-binaries/master/announcements.json",
"https://raw.githubusercontent.com/morpheus65535/bazarr-binaries/master/announcements.json"
timeout=10) timeout=10)
except requests.exceptions.HTTPError: except requests.exceptions.HTTPError:
logging.exception("Error trying to get announcements from Github. Http error.") logging.exception("Error trying to get announcements from Github. Http error.")

Loading…
Cancel
Save