mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-25 17:17:12 +00:00
Fix forced debug in save_settings
This commit is contained in:
parent
1e74036db4
commit
64079a3c22
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
bazarr_version = '0.7.0.5'
|
# coding=utf-8
|
||||||
|
|
||||||
import gc
|
import gc
|
||||||
import sys
|
import sys
|
||||||
|
@ -54,7 +54,7 @@ sys.setdefaultencoding('utf8')
|
||||||
gc.enable()
|
gc.enable()
|
||||||
update_notifier()
|
update_notifier()
|
||||||
|
|
||||||
bazarr_version = '0.7.0'
|
bazarr_version = '0.7.0.5'
|
||||||
|
|
||||||
configure_logging(settings.general.getboolean('debug') or args.debug)
|
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:
|
with open(os.path.join(args.config_dir, 'config', 'config.ini'), 'w+') as handle:
|
||||||
settings.write(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()
|
notifiers = c.execute("SELECT * FROM table_settings_notifier ORDER BY name").fetchall()
|
||||||
for notifier in notifiers:
|
for notifier in notifiers:
|
||||||
|
|
Loading…
Reference in a new issue