mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 05:47:50 +00:00
Fix calling set functions
This commit is contained in:
parent
9495fffeac
commit
e36ca0e5ba
@ -173,7 +173,8 @@ class Config(object):
|
||||
# Run the set_function for this key if any
|
||||
from twisted.internet import reactor
|
||||
try:
|
||||
reactor.callLater(0, self.__set_functions[key], key, value)
|
||||
for func in self.__set_functions[key]:
|
||||
reactor.callLater(0, func, key, value)
|
||||
except KeyError:
|
||||
pass
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user