Karl 1 жил өмнө
parent
commit
ffc01d1b50

+ 2 - 1
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]
+    if response.status_code == 204:
+        print('Updated Bazarr')