1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 01:02:19 +00:00

Fix forced debug in save_settings

This commit is contained in:
Halali 2019-01-26 22:12:19 +01:00
parent 1e74036db4
commit 64079a3c22

View file

@ -1,4 +1,4 @@
bazarr_version = '0.7.0.5'
# coding=utf-8
import gc
import sys
@ -54,7 +54,7 @@ sys.setdefaultencoding('utf8')
gc.enable()
update_notifier()
bazarr_version = '0.7.0'
bazarr_version = '0.7.0.5'
configure_logging(settings.general.getboolean('debug') or args.debug)
@ -1405,7 +1405,7 @@ def save_settings():
with open(os.path.join(args.config_dir, 'config', 'config.ini'), 'w+') as handle:
settings.write(handle)
configure_logging(settings.general.getboolean('debug'))
configure_logging(settings.general.getboolean('debug') or args.debug)
notifiers = c.execute("SELECT * FROM table_settings_notifier ORDER BY name").fetchall()
for notifier in notifiers: