mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 12:04:10 +00:00
Fix label plugin not remembering newly created labels
This commit is contained in:
parent
ba514f0b0e
commit
b33c2abf82
@ -188,6 +188,7 @@ class Core(CorePluginBase):
|
||||
CheckInput(not (label_id in self.labels) , _("Label already exists"))
|
||||
|
||||
self.labels[label_id] = dict(OPTIONS_DEFAULTS)
|
||||
self.config.save()
|
||||
|
||||
@export
|
||||
def remove(self, label_id):
|
||||
|
Loading…
x
Reference in New Issue
Block a user