mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 17:08:42 +00:00
Fix exception in label plugin when saving preferences
This commit is contained in:
parent
00e74c9491
commit
e1c5f69d54
1 changed files with 5 additions and 4 deletions
|
@ -305,6 +305,7 @@ class Core(CorePluginBase):
|
||||||
@export
|
@export
|
||||||
def set_config(self, options):
|
def set_config(self, options):
|
||||||
"""global_options:"""
|
"""global_options:"""
|
||||||
|
if options:
|
||||||
for key, value in options.items:
|
for key, value in options.items:
|
||||||
if key in CORE_OPTIONS:
|
if key in CORE_OPTIONS:
|
||||||
self.config[key] = value
|
self.config[key] = value
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue