From ffc01d1b50268999de0012cf0ab1830e280bba60 Mon Sep 17 00:00:00 2001 From: Karl Date: Mon, 8 Jan 2024 12:30:19 +0000 Subject: [PATCH] fix sync_series --- auto_subtitle/utils/bazarr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auto_subtitle/utils/bazarr.py b/auto_subtitle/utils/bazarr.py index 0e8b08b..e63f7ee 100644 --- a/auto_subtitle/utils/bazarr.py +++ b/auto_subtitle/utils/bazarr.py @@ -39,4 +39,5 @@ def sync_series(): } response = requests.request("POST", url, headers=headers, data=payload) - return response.json()['data'][0] \ No newline at end of file + if response.status_code == 204: + print('Updated Bazarr')