1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-03-14 07:58:56 +00:00
This commit is contained in:
Halali 2018-09-17 14:20:41 +02:00
parent 3bed120a8e
commit d184c5a6af

View file

@ -241,7 +241,7 @@ if cfg.has_section('auth'):
if enabled is True:
cfg.set('auth', 'type', 'basic')
elif enabled is False:
cfg.set('auth', 'type', 'basic')
cfg.set('auth', 'type', 'None')
cfg.remove_option('auth', 'enabled')
with open(config_file, 'w+') as configfile:
cfg.write(configfile)