mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-04 05:52:24 +08:00
no log: fixed last merged pr
This commit is contained in:
parent
6a9f91450c
commit
262d7d2a92
1 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue