summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSamuel Bartík <[email protected]>2023-08-15 17:10:26 +0200
committerGitHub <[email protected]>2023-08-15 11:10:26 -0400
commit42ae3af4a251ee976f89178368baa1a85e2116a0 (patch)
treed2a1bf57824e4e625e712b1f5278717cb2dfc630
parent262d7d2a928320159ae43d089c72aacc68a4d7a6 (diff)
downloadbazarr-42ae3af4a251ee976f89178368baa1a85e2116a0.tar.gz
bazarr-42ae3af4a251ee976f89178368baa1a85e2116a0.zip
Fixed issue while saving notifications settingsv1.2.5-beta.15
-rw-r--r--bazarr/api/system/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/api/system/settings.py b/bazarr/api/system/settings.py
index b5b3fa683..2e9eb7a24 100644
--- a/bazarr/api/system/settings.py
+++ b/bazarr/api/system/settings.py
@@ -108,7 +108,7 @@ class SystemSettings(Resource):
item = json.loads(item)
database.execute(
update(TableSettingsNotifier).values(
- enabled=item['enabled'],
+ enabled=int(item['enabled'] == True),
url=item['url'])
.where(TableSettingsNotifier.name == item['name']))